Errors
Error responses
Every error response has the same shape:
Branch on code, which is stable. message is for people and may change; it
names the field at fault and never repeats your content. The request_id is
also returned in the X-Request-Id header; quote it when contacting support.
Failed jobs
A job can fail after it was accepted. Its status is then failed, with a code:
Failed jobs are not billed.
Retrying safely
Send an Idempotency-Key header (1–128 of A–Z a–z 0–9 _ . : -) with each
submission. Retrying with the same key and the same body within 24 hours returns
the original job, with 200, instead of creating — and billing — a second one.
The same key with a different body is 409 idempotency_conflict.
Retry 429 after Retry-After, and 503 and network errors with exponential
backoff. Do not retry 4xx other than 429 without changing the request.

