Skip to main content

Error Codes

This page describes the HTTP status codes and error messages that can be returned by the Predis.ai API. The sample response below shows an example of HTTP status code 429

Sample Response

{
"API Limits": {
"api_request_in_last_one_hour": 0,
"total_requests_allowed_per_hour": 0
},
"message": "Invalid API key. Please provide valid API Key."
}

Error Codes Defined

The table below shows all possible HTTP status codes and error codes that can be returned by the API and the recommended solution.

HTTP Status CodeError CodeUser messageRecommended solution
429001Maximum number of hourly requests reachedYou have been rate-limited. Wait for sometime and try again.
400002Invalid brand_id providedYou have provided an invalid brand_id. Please provide a valid brand_id parameter and try again. Read more here

Additional Resources