HTTP

HTTP 423 Locked vs 500 Internal Server Error

HTTP 423 (Locked) is a 4xx Client Error response, while 500 (Internal Server Error) is a 5xx Server Error response. 423 indicates that the resource is locked and cannot be modified (WebDAV). In contrast, 500 means that the server encountered an unexpected condition that prevented it from fulfilling the request. A generic catch-all for server-side errors.

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

The server encountered an unexpected condition that prevented it from fulfilling the request. A generic catch-all for server-side errors.

When You See It

When an unhandled exception occurs, a database connection fails, or server code has a bug.

How to Fix

Check server logs for the stack trace. Common causes: unhandled exceptions, database errors, misconfigurations.

Key Differences

1.

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

2.

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

3.

HTTP 500: The server encountered an unexpected condition that prevented it from fulfilling the request. A generic catch-all for server-side errors.

4.

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

5.

You encounter 500 when when an unhandled exception occurs, a database connection fails, or server code has a bug.

When to Use Which

For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it. For 500 (Internal Server Error): Check server logs for the stack trace. Common causes: unhandled exceptions, database errors, misconfigurations.

Learn More