Client area

Error · 403

insufficient_scope

This token does not have the required scope

What happened

The endpoint requires a scope this token does not carry. The detail in the live response names it exactly — read that line rather than guessing. Scopes are fixed when a token is minted and can never be widened afterwards.

What to do

Call whoami (or GET /me) to see the scopes this token actually holds. To gain the missing one, mint a new token in the client area under Menu → API access with that scope ticked, then revoke the old one.

  • The endpoint's reference page names the scope it needs — the chip beside its method.
  • The scope table says what each one grants.
  • Mint the replacement — scopes are fixed at creation, so this is a new token rather than an edit to the old one.

The response body carries a recovery object with the same guidance in machine-readable form: recovery.action names the call to make next, and recovery.hint is one sentence a model can act on. Not every code carries one — a 401, for instance, has nothing to recover to but a valid token.

The scope table lists every scope and what it grants, including the pairs that need two at once — restore_backup requires write:hosting and restore:hosting together.

Back to the full error reference

Esc
navigate open Esc close