Skip to Content
AffFast

scope_insufficient

The API key does not have the scope for this request.

HTTP status: 403. Error type: permission_error.

The API key does not have the scope for this request.

Example

{
  "error": {
    "type": "permission_error",
    "code": "scope_insufficient",
    "message": "The API key does not have the scope for this request.",
    "doc_url": "https://docs.afffast.com/errors/scope-insufficient",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}

Causes

  • The key does not have the scope that the operation needs, for example connections:write.

How to fix

  • Read the message. It names the scope.
  • Make a new key with that scope in the dashboard. You cannot change the scopes of a key.

On this page