# ProtocolLab HQ
← All status codes

HTTP 5xx — Server Error

502 Bad Gateway

A server acting as a gateway or proxy got an invalid response from the upstream server it contacted.

Status line: HTTP/1.1 502 Bad Gateway