What do 502, 503 and 504 errors mean?

Quick answerBeginnerUpdated

Short answer

All three mean the web server could not get a usable response from the process that builds your pages. 502 is a bad response, 503 means the service is unavailable, and 504 means it took too long. On shared hosting they are usually caused by a script exhausting resources.

If it happens intermittently and on a specific page, look at what that page does — a heavy import, an unbounded query or an external API call that hangs. If every page on the server returns it, that is a platform problem and belongs at the help desk.

Learn more

Step-by-step

All troubleshooting questions · All questions and answers

Popular

Tip: press / to search from any pageSee all results