What errors might occur when using the API?
The most common errors when working with the API are:
| 400 Bad Request / Body Validation Error | Syntax errors or invalid parameters. Check the API schema for the selected model |
| 401 Unauthorized | Check if your API key is correct |
| 403 You have exhausted the available [plan.rule:api_credit] resource limit | Not enough credits to complete your request, check your credit balance |
| 404 Not Found | Check the endpoint and model name |
| 429 Too Many Requests | You have exceeded the request rate limit. For the free plan, the limit is 10 requests per hour on FREE models and 10 requests per day on models with a request cost that does not exceed $0.025 or 50,000 credits. If you are on another plan, please contact our support with more details on how you encountered this issue, and we will assist you further |
| 500 / 503 Internal Server Error | Temporary server error, please try again later |
Detailed information is available in our Documentation.
If you encounter a different error, contact technical support.