HTTP 409

idempotency_in_progress — Shorty API error

Idempotency request in progress (HTTP 409): when the Shorty API returns the idempotency_in_progress error, why, and how to fix it.

Open in ClaudeOpen in ChatGPT
CodeHTTP statusType URI
idempotency_in_progress409https://aishorty.com/docs/api/errors/idempotency_in_progress

When it happens

A request with the same Idempotency-Key is still being processed — two identical calls raced.

Example response

{
  "type": "https://aishorty.com/docs/api/errors/idempotency_in_progress",
  "title": "Idempotency request in progress",
  "status": 409,
  "detail": "A request with this idempotency key is still in progress.",
  "instance": "urn:request:req_01J9Z8ABCDEFGH0123456789",
  "code": "idempotency_in_progress",
  "request_id": "req_01J9Z8ABCDEFGH0123456789"
}

How to fix it

Wait and retry the same call; the original will complete and the retry will replay its result. The 24h idempotency ledger dedupes for you.