502

Upstream failure code

A 502 is an HTTP status code indicating a bad gateway error—a server acting as an intermediary received an invalid response from an upstream server.

When you see 502 Bad Gateway in your browser, the website's backend servers aren't communicating properly.

Unlike a 404 (page not found), a 502 suggests the problem is temporary and server-side.

HTTP

500

Five hundred units

header · upstream · downstream · backend · frontend · API · connection · protocol · CDN

troubleshooting

refresh

Restore energy or newness

  • retryAttempt something again
  • waitDelay until later
  • reloadFill with ammunition again

patience · workaround · escalate · debug · diagnose · restore · recover · reboot · restart

Opposites
HTTP response status

502200

Number after 199

success · OK · healthy · connected · responsive

fault attribution

502403

HTTP access refusal

404 · bad request · unauthorized · forbidden · your fault

Familiarity
Top 1,000,000
Profile
Known to kids · Used worldwide · Timeless · Concrete · Everyday, not technical · Rated G