Error codes

Reference

Map HTTP and provider errors to actionable client behavior.

HTTP errors

StatusMeaningClient behavior
400Invalid payload or unsupported parameterFix request fields before retrying.
401Missing or invalid API keyCreate or rotate a key in Console.
403Permission, group, model, or service access deniedCheck account access and model availability.
404Route, task, or resource not foundCheck public IDs and route paths.
429Rate or quota limitBack off and inspect quota.
5xxBackend or upstream failureRetry with backoff and inspect request logs.

OpenAI-compatible model availability

StatusMeaningClient behavior
404 model_not_foundThe 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.
503The 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

CodeWhenStatus
OperationDenied.CallbackNotSupportedcallback_url is non-empty400
InvalidParameter.Unsupportedservice_tier is not default or unsupported fields are sent400
OperationDenied.ServiceNotOpenAPI key lacks Seedance access403