Skip to content

idempotency_key_reused

Idempotency key reused. This Idempotency-Key was already used for a different request.

HTTP status 409
Type idempotency_error
Code idempotency_key_reused
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.

Use a new key for a new request. Reuse a key only to retry the identical request.

{
"error": {
"type": "idempotency_error",
"code": "idempotency_key_reused",
"message": "This `Idempotency-Key` was already used for a different request.",
"param": null,
"doc_url": "https://docs.halationlab.ai/errors/idempotency-key-reused/",
"request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T"
}
}
  • POST /v1/generations: Start a generation

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