EVA Gateway Error Codes
See the EVA Gateway Integration Guide for endpoints and usage, and EVA Gateway Parameters for parameter details.
EVA Gateway API errors consist of an HTTP status code and an application error code in the response body. The application error code provides more specific information about the failure.
Example Error Response
The following response indicates an exceeded budget. The HTTP status code is 429, and the application error code is 40005:
{
"error": {
"code": "40005",
"message": "Budget exceeded",
"type": "client",
"param": null
}
}
type identifies the source of the error: client for a client request error, gateway for a Gateway error, or upstream for an error from a model provider or another upstream service.
Error Code Reference
| Application Error Code | HTTP Status Code | type | Description |
|---|---|---|---|
40001 | 401 | client | Authentication failed. Check the API Key and Authorization header. |
40002 | 400 | client | Malformed request body, missing required fields, or unparseable field values. |
40003 | 400 | client | The model does not support the specified parameter or option. |
40004 | 403 | client | The API Key does not have access to the requested model or capability. |
40005 | 429 | client | Insufficient project quota or account balance. |
41000 | 400 | client | The specified model or provider does not support this service type. |
41003 | 400 | client | The specified model or provider is not recognized. |
42000 | 400 | client | The specified LLM model is not available on this Gateway. |
42001 | 400 | client | Invalid LLM request body. |
42002 | 408 | client | LLM streaming request timed out. |
50001 | 500 | upstream | The upstream service request failed, timed out, or was interrupted. |
50002 | 500 | upstream | Authentication failed when the Gateway accessed the upstream service. |
50003 | 429 | gateway | The inbound request concurrency limit has been reached. |
50004 | 503 | gateway | A service the Gateway depends on is temporarily unavailable. |
50009 | 500 | gateway | Internal Gateway error. |
51000 | 500 | gateway | The upstream connection pool is exhausted. |
51001 | 500 | gateway | Failed to acquire an upstream connection. |
51002 | 500 | gateway | The routed provider is not registered with the Gateway. |
51003 | 500 | gateway | No default provider is configured for this service. |
51004 | 429 | gateway | The ASR or TTS concurrency quota has been exhausted. |
51005 | 1008 | gateway | The real-time ASR session produced no transcription during the silence window and was disconnected. |
52001 | 503 | gateway | The LLM Gateway is busy and cannot accept more requests temporarily. |
52010 | 502 | upstream | The LLM upstream service request failed. |
52011 | 504 | upstream | The LLM upstream service response timed out. |
52012 | 429 | upstream | The LLM upstream service rate limit was reached. |
When contacting technical support, include the request time, request path, HTTP status code, complete error response, and the autoark-trace-id response header.