appzasGamesToolsDevLearnReferenceNetworkTimeCalculatorsCompareLLM prices

502 Bad Gateway

Source: IANA registryOfficial registry

A gateway or proxy received an invalid response from the upstream server.

ClassServer error (5xx)
Defined inRFC9110, Section 15.6.3
Cacheable by defaultNo, unless explicit freshness headers allow it

Common causes

  • The upstream application server crashed or is not running.
  • A reverse proxy or load balancer got an invalid reply from the backend.

What to do

Check that the upstream service is running and reachable, review proxy timeouts and read both proxy and application logs.

Related codes

See all HTTP status codes.