HTTPError
Last updated
Was this helpful?
Last updated
Was this helpful?
Raised when the connection could not be established with the API. This usually happens when something is wrong on the API side.
Whenever this error is raised, It shows the status code obtained that is usually is equal or greater then 500. It can be very useful to determine what the problem is. See the table below.
Status Code
Description
500 (Internal Server Error)
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable. This can mean that API has technical problems and can't process the request.
502 (Bad gateway)
The server was acting as a or proxy and received an invalid response from the upstream server.
503 (Service unavailable)
The server cannot handle the request (because it is overloaded or down for maintenance).
504 (Gateway Timeout)
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.