HTTP 401 Unauthorized

4xx – Client error

Status code401
Reason phraseUnauthorized
Class4xx – Client error
ReferenceRFC 9110

Frequently asked questions

What does HTTP status 401 mean?

Authentication is required for the resource, or the credentials are wrong.

Is 401 an error?

Yes, a client error (4xx): the problem lies in the request – for example a wrong URL, missing authentication or invalid data.

Where is HTTP 401 defined?

Status code 401 is specified in RFC 9110.

Nearby entries