424
HTTP 424 Failed Dependency
4xx Client Error
- Home
- HTTP Status Codes
- 4xx
- 424
4xx Client Error
RFC 4918, Section 11.4
What is HTTP 424 Failed Dependency?
The 424 (Failed Dependency) status code indicates that the method could not be performed on the resource because the requested action depended on another action that failed. This is used in WebDAV batch operations where one sub-request depends on another.
Common Use Cases
- Failed WebDAV batch operations
- Transactional operation failures
Usage Example
When processing a WebDAV batch COPY where moving a file depends on first creating a directory, if the directory creation fails, any dependent file copy operations return 424 Failed Dependency. The response should reference the failed dependency.
<?xml version="1.0" encoding="utf-8"?>
<multistatus xmlns="DAV:">
<response>
<href>/newdir/</href>
<status>HTTP/1.1 507 Insufficient Storage</status>
</response>
<response>
<href>/newdir/file.txt</href>
<status>HTTP/1.1 424 Failed Dependency</status>
</response>
</multistatus>