Client error

401 401 Unauthorized

Authentication is required and either was not supplied or was not accepted. Despite the name it means unauthenticated, not forbidden.

Common causes

  • Missing or expired token, wrong API key, expired session.
  • A WWW-Authenticate challenge from HTTP basic auth — a staging site left protected is a classic.

How to fix it

  • Check that the credential is being sent and has not expired.
  • If a staging environment is behind basic auth, exclude your monitoring checks or they will alert forever.

See what a site actually returns

Run a live check and read the real status code, headers and timings.

Check a website