Error type · 401

unauthorized

No token where one is needed, or an unknown, revoked or expired one (with WWW-Authenticate: Bearer)

Status
401
code
unauthorized
type
https://lantern.boreale.dev/errors/unauthorized
When
No token where one is needed, or an unknown, revoked or expired one (with WWW-Authenticate: Bearer)

As a server sends it (application/problem+json, RFC 9457), with a detail for people when it has one:

{
 "schema": 1,
 "type": "https://lantern.boreale.dev/errors/unauthorized",
 "title": "Unauthorized",
 "status": 401,
 "code": "unauthorized"
}

Every error type · The specification, § 10