Sign inConnect your AI
api / errors

Operation in progress

HTTP 409, code operation_in_progress.

Updated · API v1

What it means

A request with this Idempotency-Key is still running.

What to do

Retry the same request with the same key after Retry-After seconds: it returns the first request's result once it is done.

Retryable: send the same request again after Retry-After when the answer has one, with the same Idempotency-Key for a POST.

The answer

application/problem+json
{
  "type": "https://www.adspy.sh/docs/api/errors/operation-in-progress",
  "title": "Operation in progress",
  "status": 409,
  "detail": "…",
  "code": "operation_in_progress",
  "request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
  "instance": "/api/v1/…"
}

Every error type and how to handle them.