error is always there. Some responses add more fields:
messagewith a longer explanation.detailswhen the body fails validation. Its keys match your request fields.requiredandtopupon a402, with the credits the job needs and where to buy more.retryAfteron a429, in seconds.currentPlanon a403, when your plan has no API access.
Status codes
When to retry
- Retry
429,500,502and503. Start at 2 seconds and double each time, up to about 30 seconds. - Do not retry
400,401,403or404until you fix the cause. - Never resend a start call to check on it. Poll the job instead. See Jobs and polling.

