Skip to content

Errors

Error shape, status codes and what each means.

Error shape

Every error is JSON with a machine-readable error code and a human message:

{ "error": { "code": "invalid_request", "message": "topic is required." } }

Status codes

CodeMeaning
400Invalid request - a field is missing or malformed.
401Missing or invalid API key.
402Not enough credits to start the render.
404Job not found (wrong id, or another account's job).
429Rate limited - back off and retry.
500Server error - retry; if it persists, contact support.

Render failures

A render.failed webhook, or renderStatus: "failed" when polling, is not an HTTP error - the request succeeded but the assembly of the final video didn't.

Note the job-level status stays "completed" in that case: the scenes were generated and paid for, then refunded. Always branch on renderStatus (and a non-null finalVideoUrl), never on status alone. Credits are refunded automatically, and you can safely retry.

Start building

Create an API key in Settings โ†’ API.

Start for free โ†’

1 free video ยท no credit card