View Markdown

incompatible_scopes

HTTP 400 · retryable is false

Creating or changing a key would give it the power to send messages as an agent and to answer for a person at once. Kabu refuses that combination, so no single key can both ask and approve.

What to do: make two keys: an agent key that sends, and a service key that answers on people’s behalf. See Keys and scopes.

The response

Every error comes as application/problem+json; Errors explains each field.

{
  "type": "https://usekabu.com/docs/errors/incompatible_scopes",
  "title": "Incompatible scopes",
  "status": 400,
  "code": "incompatible_scopes",
  "detail": "…",
  "hint": "…",
  "retryable": false,
  "request_id": "req_…",
  "doc_url": "https://usekabu.com/docs/errors/incompatible_scopes"
}