Reference
UNAUTHORIZED
Authentication required
Authentication required
HTTP status 401 Unauthorized, code UNAUTHORIZED.
What it means#
The request carried no usable credential, or the credential could not be tied to an organisation: no bearer token, no X-Ticketlayer-Org header on a staff request, an organisation that could not be resolved, or a token whose claims are incomplete. The generic authentication code.
What to do#
Send Authorization: Bearer <token> and, for staff and organisation API key credentials, X-Ticketlayer-Org: <slug>. If both are present, check the token is the kind the route accepts.
On the wire#
Every error response carrying this code names this page in error.moreInfo,
with the request id in the query string. See Error codes for
the response shape and the list of every code.