Common Errors & Rate Limit
Common Errors
The server responds to a user’s request by issuing status codes when the request is made to the server. Kindly refer to the table below to further understand the status codes when indicating the success or failure of an API call.
Status Codes and Descriptions
Status Code | Description |
---|---|
400 (Bad Request) | This is due to an invalid request and the server could not process the user's request. |
401 (Unauthorized) | This is due to the lack of valid authentication credentials for the requested resource by the user. |
403 (Forbidden) | This is likely indicating that your access is blocked by our server, and we're unable to authorize your request. |
429 (Too Many Requests) | This is likely indicating that the rate limit has been reached. The user should reduce the number of calls made, or consider scaling their service plan that has much higher rate limits and call credits. |
500 (Internal Server Error) | This is a generic error response indicating that the server has encountered an unexpected issue that prevented it from fulfilling the request. |
503 (Service Unavailable) | The service is currently unavailable. Please check the API status and updates on https://status.pestoai.fun. |
1020 (Access Denied) | This is due to violation of CDN firewall rule. |
10002 (API Key Missing) | You have provided incorrect API key credentials. Please check your keys in the developer dashboard and ensure that your request is authorized. |
10005 | You may not have access to this endpoint. E.g., 'This request is limited to Pro API subscribers'. You may want to subscribe to a paid plan here. |
CORS Error | A CORS error occurs when the server doesn’t return the CORS headers required. You may learn more and attempt the recommended solutions here. |