400 | Invalid request | Check required fields, data types, and the model ID |
401 | Authentication failed | Check the Authorization header and API key |
403 | Access denied | Check account permissions, model access, and content policies |
404 | Endpoint, model, or task not found | Check the base URL, path, model ID, and task ID |
413 | Request body too large | Compress uploads, reduce Base64 data, or send less content |
429 | Rate limit or insufficient credit | Check limits and balance, then retry with backoff |
500–599 | Temporary service or provider error | Retry idempotent requests a limited number of times |