401
HTTP

401 Unauthorized

The request requires user authentication. The response includes a WWW-Authenticate header indicating the authentication scheme.

Quand vous voyez ce code

When accessing a protected resource without credentials or with expired tokens.

Comment résoudre

Include valid authentication credentials (API key, Bearer token, Basic auth) in the Authorization header.

Codes associés

Équivalents inter-protocoles

Comparaisons

Guides

Glossaire