Problem code
insufficient_scope
| Status | 403 Forbidden |
| Type | https://api.librarika.dev.raynux.com/problems/insufficient_scope |
| Title | Insufficient scope |
| Retry | Only after you fix the cause. |
| Headers | WWW-Authenticate with error="insufficient_scope" and the scope the operation needs |
What it means
The credential is valid but lacks a scope this operation requires.
What to do
Ask the library to grant the scope to the key or client, or ask the member to consent to it (member tokens). See Scopes.
Example
HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
X-Request-ID: 01JD8Q3W6Y2N5K7M9P0R4S6T8V
{
"type": "https://api.librarika.dev.raynux.com/problems/insufficient_scope",
"title": "Insufficient scope",
"status": 403,
"code": "insufficient_scope",
"detail": "The credential does not have a scope this operation requires.",
"request_id": "01JD8Q3W6Y2N5K7M9P0R4S6T8V"
}
The type URI https://api.librarika.dev.raynux.com/problems/insufficient_scope is this page. The detail above is an example of the English text; it is translated into the request's language and may change, so match on code, never on detail.