HTTP status code 401 represents Unauthorized access.

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.

Reference: List of HTTP status codes

history | show excerpt | excerpt history