The reference desk — standardized codes, filed & searchableN° 2,372 entries · 11 collections ·
DirectoryCodes
The directory of the world’s codes

Front desk · HTTP Status Codes

5×× Server Error

504 Gateway Timeout

HTTP 504 Gateway Timeout is a server error-class status code defined in RFC9110. A gateway or proxy did not receive a timely response from the upstream server.

Server-error responses admit the fault is on the server's side: the request was valid, but the server failed to fulfil it. On the wire, the response begins with the status line HTTP/1.1 504 Gateway Timeout.