Built by Abstract: powerful API's for every use case.
Learn more 🚀

HTTP Status Code
401 - Unauthorized

4xx Client errors

The HTTP Status Code 401 is similar to 400 except that it is specifically used when required authentication has failed or has not yet been provided by the client.

The server's response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. Semantically the 401 code means unauthorized.

Additional Links and Codes Related to Status Code 401

Written by Benjamin Bouchet on Sep 10, 2020 and last updated at Sep 23, 2021.