auth.scope_missing
HTTP 403 Scope missing
When it happens
Section titled “When it happens”The key does not have the scope this endpoint needs (for example unlock, enrich, usage_read or ledger_read).
What to do
Section titled “What to do”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.
Details
Section titled “Details”- 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)
Example response
Section titled “Example response”{ "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.