View Markdown

idempotency_key_reused

HTTP 422 · retryable is false

A key you send in Idempotency-Key stands for one request: retrying with the same key and the same body returns the first result. This request reused a key with a different body, so Kabu cannot tell whether it is a retry.

What to do: use a new key for a new request. To retry, send exactly the same body as the first time.

The response

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

{
  "type": "https://usekabu.com/docs/errors/idempotency_key_reused",
  "title": "Idempotency key reused",
  "status": 422,
  "code": "idempotency_key_reused",
  "detail": "…",
  "hint": "…",
  "retryable": false,
  "request_id": "req_…",
  "doc_url": "https://usekabu.com/docs/errors/idempotency_key_reused"
}