lookup> 401

401 ·Unauthorized

Authentication is required, or the provided credentials are missing or invalid.

Client ErrorRFC7235#6.3.1
Status401
PhraseUnauthorized
TypeClient Error
SpecificationRFC7235#6.3.1

What does HTTP 401 mean?

Authentication is required, or the provided credentials are missing or invalid.

It belongs to the 4xx Client Error class of responses, defined in RFC7235#6.3.1.

Browse all codes in this class: 4xx Client Error

How to fix HTTP 401

Send the WWW-Authenticate header and verify that Authorization credentials are present and valid.

  • Missing authentication credentials
  • Expired or invalid token
  • Wrong username or password

Website visitors

Double-check the URL, return to the homepage and search again, or retry later.

Developers

Send the WWW-Authenticate header and verify that Authorization credentials are present and valid.

Server administrators

Review access logs and permission rules for the affected path, and confirm routing and security policies.

Is HTTP 401 cacheable?

401 belongs to the 4xx Client Error class and is generally not cached for long; behavior is controlled by Cache-Control.

What does the 4xx class mean?

4xx Client Error: Authentication is required, or the provided credentials are missing or invalid.

4xx responses

Related status codes

Related headers