type URI on every idempotency_key_reuse problem body: https://docs.get-exo.com/errors/idempotency_key_reuse.
HTTP status: 422 Unprocessable Content.
Why it happens
A key is bound to the exact body it was first used with. Reusing it for different content is a client bug, and Exo refuses rather than replaying the wrong response or silently applying the new content. This is checked before the in-flight state, so it fires whether or not the original request has finished.How to fix it
- Generate one key per distinct request, and reuse it only for retries of that same request.
- A UUID per logical operation is the usual pattern.
Related
idempotency_in_flightvalidation_error- Errors for the envelope and the full catalogue