HTTP 424 Failed Dependency
The request failed because it depended on another request that failed.
4xx Client Error
424
Failed Dependency
Description
The 424 Failed Dependency status code means that the method could not be performed on the resource because the requested action depended on another action and that action failed. For example, if a command in a PROPPATCH method fails, then at minimum the rest of the commands will also fail with 424 Failed Dependency. This is part of the WebDAV specification and is used in batch operations where the failure of one sub-operation causes dependent sub-operations to also fail.
When Is It Used?
Used in WebDAV batch operations and transactional systems where one operation depends on the success of another. If the prerequisite operation fails, all dependent operations return 424 to indicate they could not be executed.
Example Response
HTTP/1.1 424 Failed Dependency
Content-Type: application/json
{"error": "failed_dependency", "message": "This operation depends on another operation that failed"}