{
  "topic": "errors.UNAUTHORIZED",
  "path": [
    "errors",
    "UNAUTHORIZED"
  ],
  "title": "UNAUTHORIZED — authentication required or token invalid",
  "synopsis": "Returned when the `Authorization` header is missing, the bearer token is expired, the token signature is invalid, or the token was issued by an untrusted issuer. Also returned when a request reaches a protected route with no identity context established by the auth middleware.",
  "body": "# errors.UNAUTHORIZED\n\n## NAME\n\nUNAUTHORIZED — the request does not include valid authentication credentials or the provided token failed verification.\n\n## SYNOPSIS\n\nHTTP: `401` `Unauthorized`. Retryable: `no`.\n\n## DESCRIPTION\n\nReturned when the `Authorization` header is missing, the bearer token is expired, the token signature is invalid, or the token was issued by an untrusted issuer. Also returned when a request reaches a protected route with no identity context established by the auth middleware.\n\nNot retryable with the same token. A fresh `Authorization: Bearer <token>` header is required.\n\n## SEE ALSO\n\n- errors\n- errors.FORBIDDEN\n",
  "sections": [
    {
      "name": "NAME",
      "body": "UNAUTHORIZED — the request does not include valid authentication credentials or the provided token failed verification."
    },
    {
      "name": "SYNOPSIS",
      "body": "HTTP: `401` `Unauthorized`. Retryable: `no`."
    },
    {
      "name": "DESCRIPTION",
      "body": "Returned when the `Authorization` header is missing, the bearer token is expired, the token signature is invalid, or the token was issued by an untrusted issuer. Also returned when a request reaches a protected route with no identity context established by the auth middleware.\n\nNot retryable with the same token. A fresh `Authorization: Bearer <token>` header is required."
    },
    {
      "name": "SEE ALSO",
      "body": "- errors\n- errors.FORBIDDEN"
    }
  ],
  "see_also": [
    "errors",
    "errors.FORBIDDEN"
  ],
  "stability": "stable",
  "actions": []
}
