List of error codes that you may encounter when using the API
Error Code | Description | Solution |
---|---|---|
400 - Bad Request | The request was invalid or cannot be processed | Check the request and try again |
401 - Unauthorized | The request requires user authentication | Check the API key X-Api-Key and try again |
402 - Payment Required | The account associated with the API key has consumed all available credits. | Adjust your billing settings or make a payment to resume service. |
403 - Forbidden | The server understood the request, but is refusing to fulfill it | Check the API key X-Api-Key and try again |
404 - Not Found | The requested resource could not be found | Check the request and try again |
429 - Too Many Requests | The user has sent too many requests in a given amount of time | Wait for a while and try again (see Rate Limits) |
500 - Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request | Contact support |
504 - Gateway Timeout | The server was acting as a gateway or proxy and did not receive a timely response from the upstream server | Wait for a while and try again |