401 Unauthorized

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. See Basic access authentication and Digest access authentication.[32] 401 semantically means "unauthorised",[33] the user does not have valid authentication credentials for the target resource.Note: Some sites incorrectly issue HTTP 401 when an IP address is banned from the website (usually the website domain) and that specific address is refused permission to access a website.

Did you find this article useful?

  • 100 Continue

    The server has received the request headers and the client should proceed to send the request body...
  • 101 Switching Protocols

    The requester has asked the server to switch protocols and the server has agreed to do so....
  • 102 Processing

    A WebDAV request may contain many sub-requests involving file operations, requiring a long time to c...
  • 200 OK

    Standard response for successful HTTP requests....
  • 201 Created

    The request has been fulfilled, resulting in the creation of a new resource....