← All status codes
4xx Client Error
401 Unauthorized

Authentication is required and either missing or invalid.

What it means

A 401 Unauthorized response indicates that the request requires authentication and either no credentials were provided or the credentials are invalid. Despite the name, this is really an authentication issue, not an authorization issue.

Common causes

  • No authentication credentials were sent with the request.
  • The provided API key, token, or password is invalid or expired.
  • The session has timed out.

How to fix it

  • Sign in or provide valid credentials.
  • Check that your API key or token is correct and has not expired.
  • If using session authentication, log in again.

Test a URL and see its actual status code now.

Open the checker →