Skip to content

FORBIDDEN_SCOPE

HTTP 403 — Outside the key's scopes

The key is valid and this route is not among the things it was made to do. scope in the error body names what was needed.

What to do

Use a key that holds that scope, or make one. Scopes are fixed at mint and never widened.

Can I retry?

No. Retrying cannot change the answer; a person has to act.

The body you received

json
{
  "error": {
    "code": "FORBIDDEN_SCOPE",
    "doc": "https://docs.pamopay.co/errors/FORBIDDEN_SCOPE",
    "request_id": "req_5f3a9c2b1d4e6f7a8b9c0d1e",
    "scope": "charges:write"
  }
}

Quote request_id when you write to us; it finds the call without anybody grepping by timestamp.

All error codes

Every code, scope and route on this site is rendered from the API's own source.