Skip to content

request_in_progress

Request in progress. A request with this Idempotency-Key is still being processed.

HTTP status 409
Type idempotency_error
Code request_in_progress
Can retrying help? Yes. Wait Retry-After seconds, then send the identical request with the same Idempotency-Key.
Charged? No. This refusal is free.

Wait Retry-After seconds and send the identical request again. Do not change the key.

{
"error": {
"type": "idempotency_error",
"code": "request_in_progress",
"message": "A request with this `Idempotency-Key` is still being processed.",
"param": null,
"doc_url": "https://docs.halationlab.ai/errors/request-in-progress/",
"request_id": "req_01JD3Y5RJ6M3XW6J8K2N4P7Q9T",
"retry_after": 2
}
}
  • POST /v1/generations: Start a generation
  • POST /v1/generations/{id}/cancel: Cancel a generation

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