All HTTP Status Codes
504

Gateway Timeout

5xx Server Error

What It Means

The server did not receive a timely response from an upstream server.

When You'll See It

Common with reverse proxies when the upstream application server takes too long to respond.

Related Status Codes

Frequently Asked Questions

What does HTTP 504 mean?

HTTP 504 Gateway Timeout means: The server did not receive a timely response from an upstream server.

When does a server return 504?

Common with reverse proxies when the upstream application server takes too long to respond.

Is 504 a client error or server error?

HTTP 504 is a Server Error (5xx) response. This means the issue is on the server side — the server failed to fulfill a valid request.

Looking for all status codes in one place? Use the interactive HTTP Status Codes reference tool to search and browse all codes.