Errors & reconciliation
Some compatible endpoints return HTTP 200 with a non-success JSON code. Check both HTTP status and the body. Model-generated text and request fields are preserved. Service credentials and internal provider addresses are not returned.
| Status | Meaning |
|---|---|
| 401 | Missing or revoked key |
| 402 | Insufficient available credits |
| 403 | Account or permission restriction |
| 404 | Unknown endpoint or task not owned by this account |
| 409 | Idempotency conflict or existing submission without a result |
| 422 | Invalid parameters or an unverified pricing specification |
| 502 | Submission or response unknown; do not automatically resubmit |
| 503 | Service disabled or configuration unavailable |
Unknown requests
A timed-out submission may already be running. Credits stay reserved until the result is confirmed. Check your request log or existing task ID. Do not generate a second task to “retry” the first one.