Skip to content

idempotency_key_invalid

Invalid idempotency key. The Idempotency-Key header must be 1 to 128 printable characters.

HTTP status 400
Type invalid_request_error
Code idempotency_key_invalid
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.

Send a UUID or another unique string of up to 128 characters.

{
"error": {
"type": "invalid_request_error",
"code": "idempotency_key_invalid",
"message": "The `Idempotency-Key` header must be 1 to 128 printable characters.",
"param": null,
"doc_url": "https://docs.halationlab.ai/errors/idempotency-key-invalid/",
"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.