Error codes
Reference
Map HTTP and provider errors to actionable client behavior.
HTTP errors
| Status | Meaning | Client behavior |
|---|---|---|
| 400 | Invalid payload or unsupported parameter | Fix request fields before retrying. |
| 401 | Missing or invalid API key | Create or rotate a key in Console. |
| 403 | Permission, group, model, or service access denied | Check account access and model availability. |
| 404 | Route, task, or resource not found | Check public IDs and route paths. |
| 429 | Rate or quota limit | Back off and inspect quota. |
| 5xx | Backend or upstream failure | Retry with backoff and inspect request logs. |
OpenAI-compatible model availability
| Status | Meaning | Client behavior |
|---|---|---|
| 404 model_not_found | The requested model is unavailable to this API key or has been retired. | Use the same API key with GET /v1/models. Check the exact model ID and whether it supports the endpoint, then correct the request. |
| 503 | The service or model is temporarily unavailable. | Wait and retry with backoff. If the error persists, include the request ID when contacting support. |
Seedance bridge errors
| Code | When | Status |
|---|---|---|
| OperationDenied.CallbackNotSupported | callback_url is non-empty | 400 |
| InvalidParameter.Unsupported | service_tier is not default or unsupported fields are sent | 400 |
| OperationDenied.ServiceNotOpen | API key lacks Seedance access | 403 |