All error codes

idempotency_key_reused

HTTP 422 Idempotency-Key was already used with a different request

What happened

This Idempotency-Key is already held by a different request. The key is bound to the exact method, path, body and acting user of its first use, so any change of body makes it a different request.

What to do

Send a new key for the new request, or resend the original request byte for byte to receive its stored response. Nothing was executed for this attempt.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/idempotency_key_reused",
    "title": "Idempotency-Key was already used with a different request",
    "status": 422,
    "code": "idempotency_key_reused",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.