OPDC API error code

IDEMPOTENCY_KEY_REUSED

HTTP status 409

Same Idempotency-Key, different request: a different request fingerprint, or the same body on a different route. 409.

The detail says "this key was used for a different request; use a new key", because the commonest way to arrive here is a dispatched request that failed (a 422, say), a corrected body, and a retry under the same key.

The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/idempotency-key-reused, and with X-Error-Code: IDEMPOTENCY_KEY_REUSED. Branch on the code, never on the detail text.

How errors work, and what to retryEvery error code