HTTP 423 Locked vs 501 Not Implemented
HTTP 423 (Locked) is a 4xx Client Error response, while 501 (Not Implemented) is a 5xx Server Error response. 423 indicates that the resource is locked and cannot be modified (WebDAV). In contrast, 501 means that the server does not support the functionality required to fulfill the request. The server either does not recognize the request method or lacks the ability to fulfill it.
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 does not support the functionality required to fulfill the request. The server either does not recognize the request method or lacks the ability to fulfill it.
When You See It
When using an HTTP method (like PATCH) that the server doesn't support.
How to Fix
Use a different HTTP method that the server supports. Check server documentation.
Key Differences
423 is a 4xx Client Error response, while 501 is a 5xx Server Error response.
HTTP 423: The resource is locked and cannot be modified (WebDAV).
HTTP 501: The server does not support the functionality required to fulfill the request. The server either does not recognize the request method or lacks the ability to fulfill it.
You encounter 423 when when trying to edit a file that another user has locked in WebDAV.
You encounter 501 when when using an HTTP method (like PATCH) that the server doesn't support.
When to Use Which
For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it. For 501 (Not Implemented): Use a different HTTP method that the server supports. Check server documentation.