Error codes
Interpret HTTP responses and the failure details of asynchronous media jobs.
Error codes
| HTTP | How to respond |
|---|---|
| 400 | Check parameters and required fields. |
| 401 | Verify your API key. |
| 402 | Check your available balance. |
| 404 | Check the resource ID and account. |
| 409 | Check the original request or use a new key for a different request. |
| 422 | Review the specification, reference file, or price cap. |
| 451 | The upstream is unavailable in your region. |
| 503 | Check model availability and get a fresh quote. |
Media task polling and failure callbacks report the standard category in failCode and the original error code in failure.code and error. Read failMsg for details and retryable before resubmitting. For a job in reconcile, keep polling the original ID.