httpstatuses/contents/codes/502.md

398 B

set code title references
5 502 Bad Gateway
Rails HTTP Status Symbol
:bad_gateway

The 502 (Bad Gateway) status code indicates that 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.

Source: RFC7231 Section 6.6.3