idempotency_in_progress
The original request with this key is still running
HTTP 409idempotency_in_progress
A concurrent request holds this idempotency key. Woyra refuses rather than sending twice.
Why it happens
- A client retried before the first attempt answered, usually after a short timeout.
- Two workers picked up the same job.
How to fix it
- Retry after a short pause, with backoff. The original request will either have completed, and you get its response, or failed, and the key is free.
- Raise the client timeout above the time an accept takes; the API answers well inside a second.
Is it worth retrying?
Yes, with backoff, reusing the same idempotency key.
What the response looks like
HTTP/1.1 409
Content-Type: application/json
Woyra-Request-Id: req_01J...
{
"error": {
"code": "idempotency_in_progress",
"message": "…",
"doc_url": "https://docs.woyra.io/errors/idempotency_in_progress",
"param": null,
"request_id": "req_01J..."
}
}