Skip to content

idempotency_key_expired

Idempotency key expired. This Idempotency-Key is too old to replay.

HTTP status 409
Type idempotency_error
Code idempotency_key_expired
Can retrying help? No. The same request gets the same answer until you change it or fix the cause.
Charged? No. This refusal is free.

Look the result up (for example GET /v1/generations) instead of retrying.

{
"error": {
"type": "idempotency_error",
"code": "idempotency_key_expired",
"message": "This `Idempotency-Key` is too old to replay.",
"param": null,
"doc_url": "https://docs.halationlab.ai/errors/idempotency-key-expired/",
"request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T"
}
}

See Errors for the error shape and how to handle errors in general, and Billing outcomes for what every outcome costs.