The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.
Server Error
502 Bad Gateway
Source: RFC7231 Section 6.6.3
References for code 502
- Rails HTTP Status Symbol
:bad_gateway - Go HTTP Status Constant
http.StatusBadGateway - Symfony HTTP Status Constant
Response::HTTP_BAD_GATEWAY - Python 2 HTTP Status Constant
httplib.BAD_GATEWAY - Python 3+ HTTP Status Constant
http.client.BAD_GATEWAY - Python 3.5+ HTTP Status Constant
http.HTTPStatus.BAD_GATEWAY