Errors
Parel returns OpenAI-style error envelopes.
{ "error": { "message": "Model not found", "type": "invalid_request_error", "param": "model", "code": "model_not_found" }}Common status codes
Section titled “Common status codes”| Status | Code | Meaning |
|---|---|---|
| 400 | invalid_request_error | Request body or parameter is invalid |
| 401 | invalid_api_key | Missing or invalid API key |
| 402 | insufficient_balance | Account balance is too low |
| 403 | forbidden | Account cannot access the resource |
| 404 | model_not_found | Model or route resource was not found |
| 429 | rate_limit_exceeded | Too many requests |
| 502 | provider_error | Upstream provider failed |
| 503 | service_unavailable | Temporary capacity or service issue |
Request IDs
Section titled “Request IDs”When reporting an issue, include the response status, model ID, approximate timestamp, and any request ID returned by the API.