HTTP 414 URI Too Long vs 423 Locked
Both HTTP 414 (URI Too Long) and 423 (Locked) belong to the 4xx Client Error category. 414 indicates that the URI provided was too long for the server to process. Meanwhile, 423 means that the resource is locked and cannot be modified (WebDAV).
Description
The URI provided was too long for the server to process.
When You See It
When query strings are extremely long or when accidentally sending a request body in the URL.
How to Fix
Shorten the URL. Move long parameters to the request body using POST instead of GET.
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.
Key Differences
HTTP 414: The URI provided was too long for the server to process.
HTTP 423: The resource is locked and cannot be modified (WebDAV).
You encounter 414 when when query strings are extremely long or when accidentally sending a request body in the URL.
You encounter 423 when when trying to edit a file that another user has locked in WebDAV.
When to Use Which
For 414 (URI Too Long): Shorten the URL. Move long parameters to the request body using POST instead of GET. For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it.