Skip to content

auth.scope_missing

HTTP 403 Scope missing

The key does not have the scope this endpoint needs (for example unlock, enrich, usage_read or ledger_read).

Create a key with the scope you need. Scopes can’t be added to an existing key.

Sending the same request again gives the same answer until the cause is fixed.

  • HTTP status: 403 Forbidden
  • Where you can meet it: Customer API (/v1)
  • Code: auth.scope_missing (stable: match on the code, not on the title or detail text)
{
"type": "https://docs.zemodata.com/errors/auth.scope_missing",
"title": "Scope missing",
"status": 403,
"code": "auth.scope_missing",
"detail": "…",
"request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
"errors": []
}

See Errors for how problem responses work, and all error codes.