Documentation

API key lacks the required scope

View as Markdown

INSUFFICIENT_SCOPE403

What it means

The key is valid but does not carry the scope this request needs.

What to do

The scope is named in both `detail` and the `WWW-Authenticate` header. An account owner can issue a key that carries it. Retrying with the same key will not help.

The response

{
  "type": "https://fentlig.se/developers/errors/insufficient-scope",
  "title": "API key lacks the required scope",
  "status": 403,
  "code": "INSUFFICIENT_SCOPE"
}

detail and instance are added when there is something specific to that occurrence to say.