HTTP status: 410 · Title: “Idempotency key expired”Documentation Index
Fetch the complete documentation index at: https://docs.kash.bot/llms.txt
Use this file to discover all available pages before exploring further.
When it fires
TheIdempotency-Key you sent matches a row in the idempotency store but that row is past its 24-hour TTL.
Why it happens
- A retry that took longer than 24 hours to fire (e.g., a job that stalled in a queue and retried days later).
- An offline-first client that buffered the request locally and only got online after the TTL.
How to fix
- Generate a fresh
Idempotency-Keyfor the retry. - Before retrying, check whether the original operation actually completed — query
GET /v1/trades/:id(using aclientRequestIdyou stored, if applicable) so you don’t double-execute. - For long-tail retries, prefer the body-level
clientRequestIdfield over the header — it has the same conflict semantics but no TTL.