Skip to main content

Idempotency key reused

typehttps://docs.frem.sh/reference/api/errors/idempotency-key-reused
HTTP status409 Conflict

What it means

The Idempotency-Key you sent was already used for a request with a different body. A key identifies one logical request: a retry with the same key and the same body replays the first response, and the same key with a different body is refused rather than silently answered with the earlier result.

Example detail messages returned with this error:

  • This Idempotency-Key was already used with a different body. Use a new key for a different request.

What to do

Send a new key for a new request. Reuse a key only to retry the exact same request after a network failure.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/idempotency-key-reused",
  "title": "Conflict",
  "status": 409,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.