API error · HTTP 403
insufficient_scope
Insufficient scope
| HTTP status | 403 Forbidden |
|---|---|
code | insufficient_scope |
title | Insufficient scope |
| Retry? | No |
What it means
The token does not carry a scope this operation needs, for example reports:read and pii:read to download a PDF report, or the route is not available to API clients.
What to do
Do not retry. Request a token with the scope the operation lists (§4.2), or ask WALT to grant it to the credential. Least privilege: only ask for what the connector uses.
Example response
Branch on code, never on title or detail. detail varies; quote request_id to support.
HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
{
"type": "https://www.underwritinguk.ai/developers/errors/insufficient_scope",
"title": "Insufficient scope",
"status": 403,
"code": "insufficient_scope",
"detail": "Insufficient scope.",
"request_id": "7b0b1e5c-2f7e-4a52-9a43-5b0d0f0e9d11"
}All error codes · Error catalogue in the integration guide (§15) · Error handling and retries (§12.4)