- Request errors. The API refuses the HTTP request. The status code is
4xxor5xxand the body holdserror. - Job errors. The API accepted the job, but the job failed later. The poll returns
200withdata.statusset tofailedanddata.errorset.
Error body
Every response has an
X-Request-Id header with the same value as requestId. Include it when you contact support.
Request errors
Job errors
The service can return other codes. Treat an unknown code as a failed job.
Retry safely
- Retry
429and503after the number of seconds in theRetry-Afterheader. Without the header, wait at least one second. - Use exponential backoff for repeated failures.
- Do not retry
400,401or413without a change to the request. - A retry of
POST /v1/jobsmakes a new job. Cancel a job that you no longer need.