AI engineering glossary · Web APIs HTTP
What is 504 Gateway Timeout?
504 Gateway Timeout: The status code returned by a proxy or gateway when the upstream server did not respond in time. It suggests slow processing, such as a long model call exceeding the gateway's wait limit.
504 Gateway Timeout: an example
A 60-second generation behind a gateway with a 30-second limit returns 504.
Related terms
More Web APIs HTTP terms
Where you learn it
504 Gateway Timeout is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.