502

Bad Gateway

5xx Server Error

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

Common Causes

  • Upstream server down
  • Network issues
  • Proxy misconfiguration
  • DNS problems

How to Fix

  • Check upstream services
  • Verify proxy settings
  • Wait and retry

About HTTP 502

HTTP 502 Bad Gateway is a server error response status code. This indicates that the server encountered an error while processing the request.

Monitoring for 502 Errors

Server errors like HTTP 502 can significantly impact user experience and should be monitored proactively. Setting up uptime monitoring helps you detect these errors before your users report them.

Monitor for HTTP Errors

Get instant alerts when your endpoints return error status codes. Detect issues before your users do.

Start Monitoring Free

Related Status Codes