424 Failed Dependency means: A WebDAV code: the request failed because a previous request it depended on failed. In a batch of operations, if step A fails and step B required A, B reports 424 Failed Dependency rather than its own independent error. Client-error 4xx codes mean the request itself is the problem: malformed syntax, missing credentials, forbidden access, a nonexistent resource or a violated precondition. The server is telling the client what to change; retrying the identical request without a fix will reproduce the same error. In practice you will meet 424 when a webdav proppatch sets several properties and an earlier one fails; a transactional batch where later operations depend on earlier success; a move whose prerequisite copy failed. On the client side, inspect the multistatus body to find the root failure, fix that, and retry the whole dependency chain. On the server side, report 424 for dependent failures inside 207 bodies, pointing at the failed precondition so clients can find the root cause.
When 424 happens
- A WebDAV PROPPATCH sets several properties and an earlier one fails
- A transactional batch where later operations depend on earlier success
- A MOVE whose prerequisite COPY failed
How to fix it
On the client
Inspect the multistatus body to find the root failure, fix that, and retry the whole dependency chain.
On the server
Report 424 for dependent failures inside 207 bodies, pointing at the failed precondition so clients can find the root cause.
Should you retry?
Not retryable as-is: change the request (credentials, payload, URL) first.
Debugging steps
When 424 appears unexpectedly, start by capturing the full exchange: 'curl -i' or the browser DevTools Network tab shows the exact status line and response headers, which often carry the real explanation. Read the error body first — well-designed APIs name the offending field or missing credential. Then diff your actual request, headers included, against the documented contract. For this code specifically, check whether the most common trigger applies to your situation: a webdav proppatch sets several properties and an earlier one fails. Compare your exchange against the raw HTTP example above. If you operate the server, correlate the timestamp with application and proxy logs using the request id; if you are the client, verify the request shape against the API documentation before changing anything or retrying.
Notes & gotchas
424 points at a root cause elsewhere in the batch: fixing the dependent operation without fixing the failed prerequisite will reproduce the same 424 on every retry.
Examples
HTTP/1.1 424 Failed Dependency
Content-Type: application/json
Content-Length: 118
{
"error": "failed_dependency",
"message": "A WebDAV PROPPATCH sets several properties and an earlier one fails"
} curl -i https://api.example.com/v1/resource # observe the 424 response and its headers const res = await fetch("https://api.example.com/v1/resource");
if (res.status === 424) {
const problem = await res.json(); // read field-level details
// fix the request (credentials, payload, URL) — identical retries keep failing
throw new RequestError(problem);
} import requests
res = requests.get("https://api.example.com/v1/resource", timeout=10)
if res.status_code == 424:
problem = res.json() # field-level error details
# correct the request before retrying — identical retries keep failing
raise RequestProblem(problem) Frequently asked questions
Where does 424 appear?
Almost exclusively inside WebDAV 207 Multi-Status bodies, marking items that failed because a dependency failed.
How is 424 different from 409?
409 is a direct conflict with resource state; 424 is an indirect failure caused by another request in the same batch failing first.
Are 4xx errors always the client's fault?
By contract yes — the server asserts the request must change. In practice servers sometimes misuse 4xx for their own problems (e.g. 400 for internal validation bugs), so read the error body before blaming your client code.
Should I retry 4xx responses automatically?
Generally no: the server says the request must change. Exceptions are 408 (fresh connection), 425 (after handshake) and 429 (after Retry-After). Blind retries of 400/401/403/404 just burn quota.
Try the JSON Validator
Check JSON syntax and locate errors by line and column.