401

Unauthorized

4xx · Client Error Common

Summary

Authentication is required and has failed or not been provided (i.e. unauthenticated).

When it occurs

Returned when credentials are missing or invalid; response includes a WWW-Authenticate header.

Common causes

How to fix

Related codes

Spec reference