Skip to content

forbidden โ€‹

forbidden

Description โ€‹

The caller is authenticated, but lacks the permission or claim required by the endpoint.

HTTP Status โ€‹

403 Forbidden

doc_url Format โ€‹

The doc_url value is an absolute URL and changes by environment:

<docs-base-url>/errors/forbidden

Typical Causes โ€‹

  • The access token is valid, but the required role is missing.
  • A restricted-access middleware rejected the caller.
  • A required identity claim is absent.

Example โ€‹

Response:

json
{
  "errors": [
    {
      "code": "forbidden",
      "message": "INSUFFICIENT_ROLES",
      "doc_url": "https://docs.example.com/errors/forbidden"
    }
  ]
}

How To Fix โ€‹

  1. Sign in with an account that has the required permission.
  2. Request the missing role or claim if this is expected.
  3. Retry the request with a token that satisfies the access rule.