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

  1. 1Wait for the current lock holder to release the lock
  2. 2Use the UNLOCK method to release the lock if you own it
  3. 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