Skip to main content

Oauth session pat mint forbidden

typehttps://docs.frem.sh/reference/api/errors/oauth-session-pat-mint-forbidden
HTTP status403 Forbidden

What it means

The credential is valid but not permitted to do this.

Example detail messages returned with this error:

  • Personal access tokens cannot be minted from a browser/OAuth session. Create them from your org’s API-tokens admin page (tenant-scoped).

What to do

Check the token’s scopes and that it is scoped to this tenant. Owner-only actions need an owner credential.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/oauth-session-pat-mint-forbidden",
  "title": "Forbidden",
  "status": 403,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.