Skip to content
Docs
Reference

IDEMPOTENCY_KEY_REUSED

Idempotency key reused for a different request

Idempotency key reused for a different request

HTTP status 422 Unprocessable Entity, code IDEMPOTENCY_KEY_REUSED.

What it means#

The Idempotency-Key was already used, within its 24 hours, with a different request: a different method, path, query string or body (or, on the staff and partner surfaces, a different X-Ticketlayer-Channel or TL-Version). A key identifies one request, so the stored outcome of the other one is not replayed and nothing is run. Answered 422 on the staff and partner surfaces; the Live surface answers the same code with 409, the status it has always used.

What to do#

Use a fresh key for each distinct request; reuse a key only to retry the same one, byte for byte.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.