423
HTTPERRORNotable4xx Client ErrorHIGH confidence

Locked

Production Risk

Low. This is the expected behavior in a locking system like WebDAV. A well-behaved client should inform the user that the resource is locked.

What this means

The source or destination resource of a method is locked. This is a WebDAV-specific error code.

Why it happens
  1. 1A client attempts to modify a file that has been exclusively locked by another user or process.
  2. 2The resource is part of a transaction that is currently in progress.
  3. 3This prevents race conditions and conflicting modifications in a collaborative environment.
How to reproduce

A user tries to save changes to a document on a WebDAV server, but another user currently has the document checked out with an exclusive lock.

trigger — this will error
trigger — this will error
PUT /document.docx HTTP/1.1
Host: webdav.example.com

expected output

HTTP/1.1 423 Locked

Fix

Wait for the Lock to Be Released

WHEN A resource is temporarily locked.

Wait for the Lock to Be Released
The client can periodically retry the request until the lock is released by the other process.

Why this works

Client-Side Logic

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All HTTP errors