HTTP 424 Failed Dependency vs 504 Gateway Timeout
HTTP 424 (Failed Dependency) is a 4xx Client Error response, while 504 (Gateway Timeout) is a 5xx Server Error response. 424 indicates that the request failed because it depended on another request that failed (WebDAV). In contrast, 504 means that the server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
Description
The request failed because it depended on another request that failed (WebDAV).
When You See It
In batch WebDAV operations when a prerequisite action fails.
How to Fix
Fix the failed dependency first, then retry the operation.
Description
The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
When You See It
When an upstream server is too slow to respond within the proxy's timeout window.
How to Fix
Increase proxy timeout settings. Optimize upstream server performance. Check for long-running queries.
Key Differences
424 is a 4xx Client Error response, while 504 is a 5xx Server Error response.
HTTP 424: The request failed because it depended on another request that failed (WebDAV).
HTTP 504: The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
You encounter 424 when in batch WebDAV operations when a prerequisite action fails.
You encounter 504 when when an upstream server is too slow to respond within the proxy's timeout window.
When to Use Which
For 424 (Failed Dependency): Fix the failed dependency first, then retry the operation. For 504 (Gateway Timeout): Increase proxy timeout settings. Optimize upstream server performance. Check for long-running queries.