HTTP 308 Permanent Redirect vs 424 Failed Dependency
HTTP 308 (Permanent Redirect) is a 3xx Redirection response, while 424 (Failed Dependency) is a 4xx Client Error response. 308 indicates that the resource has been permanently moved. Like 301, but guarantees the HTTP method will NOT be changed. In contrast, 424 means that the request failed because it depended on another request that failed (WebDAV).
Description
The resource has been permanently moved. Like 301, but guarantees the HTTP method will NOT be changed.
When You See It
For permanent URL changes where POST requests must remain POST.
How to Fix
Update all references to the new URL. The HTTP method is preserved.
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.
Key Differences
308 is a 3xx Redirection response, while 424 is a 4xx Client Error response.
HTTP 308: The resource has been permanently moved. Like 301, but guarantees the HTTP method will NOT be changed.
HTTP 424: The request failed because it depended on another request that failed (WebDAV).
You encounter 308 when for permanent URL changes where POST requests must remain POST.
You encounter 424 when in batch WebDAV operations when a prerequisite action fails.
When to Use Which
For 308 (Permanent Redirect): Update all references to the new URL. The HTTP method is preserved. For 424 (Failed Dependency): Fix the failed dependency first, then retry the operation.