Upstream sent invalid response
Section: Codes 500-510
HTTP 502 Bad Gateway
text
text
curl -i https://example.com/apiExplanation
Common with reverse proxies when an upstream app returns malformed or unreachable responses.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Codes 500-510