A lock can prevent one editor from overwriting another person's work. With WebDAV, a missing or incorrect lock token may block an otherwise permitted operation. Read the response details and lock metadata to find the affected resource. Removing locks indiscriminately can cause competing writes, so establish whether the owning operation is active, abandoned or expired.
423 Locked
A resource is locked against the requested operation, often by a WebDAV client or related editing workflow.
All HTTP status codes
What does HTTP 423 mean?
An investigation example
Illustrative shared-document investigation
Save response: 423 Locked
A disconnected editor still owns the document lock.
Action: follow the service's lock recovery policy.
Verify: the intended editor can save without overwriting an active session's changes.Common causes
- Another WebDAV client holds an active write lock on the file or collection.
- The request omitted a required lock token or supplied one for a different resource.
- A client disconnected without releasing a lock that has not yet expired.
Diagnose the response
Identify the lock owner and token, then resolve ownership or expiry before trying the protected write again.
- Inspect lock discovery information and the response details to identify the lock owner, scope and expiry. Do not treat every lock as stale merely because a write failed.
- If the client owns the lock, send its token using the service's documented WebDAV conditions. A token for another path or expired lock will not authorise the operation.
- Release a confirmed stale lock through supported administration or client controls. Avoid deleting lock records underneath an active writer, which can allow conflicting changes.
What it means for website monitoring
A locked document does not necessarily mean the whole website is down. Test the affected editing operation and preserve lock evidence for the person managing the resource.