Skip to main content

Error shape

Some errors add a code you can match on, and validation errors add errors:
On Templates, Presets and Monitors, each entry in errors is an object that names the field:

Status codes

Error codes

Jobs that fail

A job that fails still answers 200 when you poll it, with status: "failed" and an error that says why in plain words:
Failed jobs, failed batch items and pages that can’t be read cost nothing.

Retrying

Retry 429, 500 and 503 with exponential backoff (for example 2, 4, 8, 16 seconds), and wait retry_after seconds on SERVICE_BUSY. Don’t retry other 4xx errors unchanged: they fail the same way every time. The SDKs retry 502, 503 and 504 for you and keep polling through brief errors; handle 429 on submit yourself.