Unauthorized 401

Reference guide

Request path

  1. You (reached)
  2. DNS (reached)
  3. Cloudflare edge (reached)
  4. Origin (answered with a warning)

401

Likely cause

The origin/application requires authentication that wasn't provided or has expired.

What to do

  1. Check. Confirm whether the required credentials (session cookie, API key, or Authorization header) were actually sent with the request, and whether they've expired.
  2. Fix. Re-authenticate (log in again, refresh the token/API key) and ensure the credential is attached to subsequent requests.
  3. Verify. Retry the request with valid, current credentials and confirm it succeeds.

Back to error lookup