Skip to main content
500CallsDocs
Browse the docs

insufficient_scope

Insufficient scope

HTTP status
403
Code
insufficient_scope
Retry?
No

What it means

The API key does not hold the scope this endpoint needs. The detail names the scope.

What to do

Create a key with the scope, or rotate the key and add it. Each endpoint's scope is in the API reference.

Example

Example 403 response
{  "type": "https://docs.messaging.500calls.com/errors/insufficient_scope",  "title": "Insufficient scope",  "status": 403,  "code": "insufficient_scope",  "detail": "This API key does not have the messages:send scope.",  "request_id": "req_01M3KR6CQ26S90NG2V790GVFTX",  "errors": []}

Returned by

How errors work