4xx Client Error
HTTP 423 Locked
The resource that is being accessed is locked. This is primarily used in WebDAV when a resource is locked by another user and cannot be modified until the lock is released.
Common Causes
- WebDAV resource locked by another user
- File being edited by someone else in a collaborative system
- Database record locked during a transaction
How to Fix
- 1Wait for the current lock holder to release the lock
- 2Use the UNLOCK method to release the lock if you own it
- 3Check who holds the lock and coordinate with them
Example
HTTP 423 Locked
PUT /files/report.docx HTTP/1.1 → 423 Locked → "Resource is locked by user: alice"
Related Client Error Codes
400
Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Content Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I'm a Teapot
421Misdirected Request
422Unprocessable Content
424Failed Dependency
425Too Early
426Upgrade Required
428Precondition Required
429Too Many Requests
431Request Header Fields Too Large
451Unavailable For Legal Reasons