# 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.

| Code | HTTP status | Type URI |
| --- | --- | --- |
| `idempotency_in_progress` | 409 | `https://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

```json
{
  "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.

## Related errors

- [idempotency_conflict](/docs/api/errors/idempotency_conflict) — Idempotency conflict (HTTP 409)
- [idempotency_key_reused](/docs/api/errors/idempotency_key_reused) — Idempotency key reused (HTTP 422)
