Klantly Developers

Error codes

insufficient_scope

403 This API key has no access to this action.

Cause

The key lacks the scope this endpoint requires. The required_scope field names which one.

Solution

Change the key's access in Klantly, or use a key with this scope.

Example

application/problem+json
{
  "type": "https://developers.klantly.com/errors/insufficient_scope",
  "title": "This API key has no access to this action.",
  "status": 403,
  "code": "insufficient_scope",
  "detail": "This requires the scope customers.write. Change the key's scopes in Klantly.",
  "required_scope": "customers.write",
  "request_id": "req_01j7zq3k9x2m4n6p8r0t2v4w6y"
}

← All error codes