Errors

unauthorized

401 – Unauthorized. No credential was presented, or the one presented is not live.

Unauthorized. Answered with 401.

What it means

No credential was presented, or the one presented is not live. A revoked key is refused from the next request onwards.

What to do

Send a valid API key in the Authorization header. Do not retry without one.

The body

{
  "type": "https://tigby.eu/problems/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "…what was refused, naming this request's own values",
  "code": "unauthorized",
  "doc_url": "https://docs.tigby.eu/errors/unauthorized",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.