Skip to main content

insufficient_scope

The API key lacks the required scope

Status: 403 Forbidden

type: https://api.allisai.ai/errors/insufficient_scope

When it is sent​

A key without the scope the operation needs. WWW-Authenticate names the scope. Use a key that holds it. Scopes are independent, so write does not grant read.

Example​

{
"type": "https://api.allisai.ai/errors/insufficient_scope",
"title": "The API key lacks the required scope",
"status": 403,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "insufficient_scope",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}

Operations that return it​