Sign inConnect your AI
api / errors

Service unavailable

HTTP 503, code service_unavailable.

Updated · API v1

What it means

A dependency (the creative library, collection or exports) is temporarily unavailable. Nothing was charged.

What to do

Retry after Retry-After seconds with the same idempotency key.

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/service-unavailable",
  "title": "Service unavailable",
  "status": 503,
  "detail": "…",
  "code": "service_unavailable",
  "request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
  "instance": "/api/v1/…"
}

Every error type and how to handle them.