HTTP

HTTP 423 Locked vs 524 A Timeout Occurred

HTTP 423 (Locked) is a 4xx Client Error response, while 524 (A Timeout Occurred) is a 5xx Server Error response. 423 indicates that the resource is locked and cannot be modified (WebDAV). In contrast, 524 means that cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

Description

The resource is locked and cannot be modified (WebDAV).

When You See It

When trying to edit a file that another user has locked in WebDAV.

How to Fix

Wait for the lock to be released, or request the lock owner to unlock it.

Description

Cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

When You See It

When a request to the origin takes longer than Cloudflare's 100-second timeout.

How to Fix

Optimize slow endpoints. Move long-running tasks to background jobs.

Key Differences

1.

423 is a 4xx Client Error response, while 524 is a 5xx Server Error response.

2.

HTTP 423: The resource is locked and cannot be modified (WebDAV).

3.

HTTP 524: Cloudflare-specific. A TCP connection was established but the origin didn't respond with an HTTP response in time.

4.

You encounter 423 when when trying to edit a file that another user has locked in WebDAV.

5.

You encounter 524 when when a request to the origin takes longer than Cloudflare's 100-second timeout.

When to Use Which

For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it. For 524 (A Timeout Occurred): Optimize slow endpoints. Move long-running tasks to background jobs.

Learn More