5xx Server Error
I'm a middleman server, and the server I was trying to talk to took too long to respond, so I gave up waiting.
Use 504 when acting as a gateway or proxy and the upstream server did not respond before your timeout expired.
GET https://api.example.test/api/slow-operation504 Gateway Timeout
# Headers
Content-Type: application/json
# Body
{
"error": "gateway_timeout"
}Backend API took longer than 30 seconds, proxy timed out
I'm a middleman server, and the server I was trying to talk to gave me a bad or broken response.
You took too long to send your request. The server got tired of waiting and gave up.
Our service is temporarily down for maintenance or overloaded. Please try again later.