References
Errors
Error codes and messages for Ultra AI
Status Code | Error Code | Message | Description |
---|---|---|---|
401 | missing_api_key | Missing API key | No API key provided in the request |
401 | invalid_api_key | Invalid API key | The provided API key is not valid |
400 | invalid_model_config | Model config is not valid JSON | The model configuration is not in valid JSON format |
400 | invalid_model_config | Model config does not have correct schema | The model configuration doesn’t match the expected schema |
400 | invalid_user_rate_limit_config | User rate limit config is not valid JSON | The user rate limit configuration is not in valid JSON format |
400 | invalid_user_rate_limit_config | User rate limit config does not have correct schema | The user rate limit configuration doesn’t match the expected schema |
429 | user_rate_limited | User rate limited | The user has exceeded their rate limit |
400 | N/A | Invalid request body | The request body is invalid (for chat completions or embeddings) |
424 | exhausted_models | Exhausted models | All specified models failed to process the request |
404 | not_found | Not found | The requested resource or endpoint was not found |
500 | internal_server_error | Internal server error | An unexpected error occurred on the server |