HTTP Status Codes - Online Reference Guide

Reference guide for HTTP status codes. Learn the meaning of 200, 404, 500, and all HTTP codes.

Share
502server

Bad Gateway

The server, acting as a gateway or proxy, received an invalid response from the upstream server.

Common Causes

Upstream server is down, misconfigured, overloaded, or returning malformed responses.

How to Fix

Check if the upstream server is running and accessible. Verify proxy/gateway configuration. Check upstream server logs.

Related Status Codes

Related Tools

More Code & Dev Tools