GET answers 200 with status: "failed" and an error object. Both use the same shape.
The error envelope
On an HTTP error,
retryable is true for 408, 429 and 5xx, and remediation.action is always none. On a failed job, remediation.action is retry exactly when retryable is true.
HTTP errors
These come back from the request itself, before any job runs.
Scene endpoints answer a few cases in their own way: a
sessionId that already has a running task answers 409 with code: "INVALID_REQUEST" and the running task in details.running_task_id, and an unknown scene task answers 404 with code: "INVALID_REQUEST".
Failed job codes
These appear in theerror field of a job that ended failed, or in vsplat.error and glb.error on a character or motion whose 3D part failed.
You may rarely see
NOT_FOUND, UNAUTHENTICATED, INVALID_CREDENTIAL or ID_ALREADY_EXISTS on a failed job. Treat them as not retryable.
A failed character or motion export (GET /v1/characters/{id}/export, GET /v1/motions/{id}/export) carries a different error: its code is an internal task code, not one of the codes above, and it has no retryable flag. Treat it as opaque and not retryable, and contact support with the asset ID.
When you contact support about a failed job, give the job ID (for example vid_… or render_…), plus the X-Request-Id of the create request if you logged it. The request_id inside a failed job only identifies the read that returned it.
Handle errors in your code
- Branch on
retryable, then oncode. Treat a code you don’t recognise by itsretryableflag, and treat a missing flag as not retryable. - Retry retryable errors with exponential backoff and jitter: about 1 s, 2 s, 4 s, 8 s, capped near 30 s, for a handful of attempts.
- Don’t retry
400,401,402,404or409unchanged. Fix the cause first. - A
200on submit is not success. Viggle H3, upscale and 3D extraction can still endfailedwithINSUFFICIENT_CREDITS. Always poll to a terminal status. - Failed and cancelled jobs are refunded automatically, so a retry never double-charges.
- If a submit times out with no response, don’t blindly resubmit. Use
Idempotency-Keyon renders, and checkGET /v1/videosfor the others. See Retry a submit safely. - Log
request_idwith every error.
Python
Next steps
Task lifecycle
Statuses, polling, cancelling and refunds.
Limits and retention
The limits behind most input errors.