What does HTTP status code 424 mean?
The 424 Failed Dependency status code (from WebDAV, RFC 4918) indicates that the request was omitted because the action depended on another action that failed.
When to use it in APIs
Useful in batch transactional endpoints. If a client submits a batch of operations, and transaction A fails, transaction B (which depends on A) fails with a 424.
How it compares to other codes
- 400 Bad Request: A general request failure, whereas 424 specifies that the request itself was okay but was blocked by an external step failure.