Skip to content

Error Codes ​

Common error codes returned by the API.

CodeHTTPMeaningFix
unauthorized401Missing or invalid API keyCheck Authorization header
forbidden403Insufficient permissionsUpdate role or key scope
policy_violation403Provider blocked by routing policy (geo or provider deny list)Add a compliant provider via BYOK or update the service configuration
not_found404Resource missingVerify IDs and paths
rate_limited429Too many requestsBackoff and retry
server_error500Internal errorRetry or contact support

Example error response ​

json
{
  "error": "rate_limited",
  "message": "Too many requests",
  "requestId": "req_01H..."
}