Error Response Format
All errors follow this structure:HTTP Status Codes
Common Error Codes
Authentication Errors
Request Errors
Provider Errors
Handling Errors
Python
TypeScript
Retry Strategy
For transient errors (5xx, rate limits), implement exponential backoff:Debugging Tips
Save the reference_id
Save the reference_id
Every error includes a
reference_id. Save this for support inquiries - it helps us track down issues quickly.Check your API key
Check your API key
Most authentication errors are caused by typos or using the wrong API key. Double-check your key starts with
sk-voidai-.Verify the model exists
Verify the model exists
Use the Models endpoint to see available models before making requests.
Check your credit balance
Check your credit balance
Insufficient credits will cause requests to fail. Check your dashboard for your current balance.
