HTTP

HTTP 424 Failed Dependency vs 429 Too Many Requests

Both HTTP 424 (Failed Dependency) and 429 (Too Many Requests) belong to the 4xx Client Error category. 424 indicates that the request failed because it depended on another request that failed (WebDAV). Meanwhile, 429 means that the user has sent too many requests in a given time (rate limiting). The response should include a Retry-After header.

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.

Description

The user has sent too many requests in a given time (rate limiting). The response should include a Retry-After header.

When You See It

When hitting API rate limits or making too many requests too quickly.

How to Fix

Check the Retry-After header. Implement exponential backoff. Consider caching responses.

Key Differences

1.

HTTP 424: The request failed because it depended on another request that failed (WebDAV).

2.

HTTP 429: The user has sent too many requests in a given time (rate limiting). The response should include a Retry-After header.

3.

You encounter 424 when in batch WebDAV operations when a prerequisite action fails.

4.

You encounter 429 when when hitting API rate limits or making too many requests too quickly.

When to Use Which

For 424 (Failed Dependency): Fix the failed dependency first, then retry the operation. For 429 (Too Many Requests): Check the Retry-After header. Implement exponential backoff. Consider caching responses.

Learn More