423 Locked

WebDAV code meaning the target resource is locked and the request cannot proceed without the lock token.

Status

HTTP/1.1 423 Locked

Details

WebDAV locking prevents two clients from editing the same document at once. A client takes a lock, receives a lock token, and includes that token in an If header on subsequent writes. Anyone writing without the token gets 423.

Outside WebDAV, some applications reuse 423 to mean an account or record is locked, for example after too many failed sign-in attempts. That is a convention rather than a specified meaning, so read the body.

Headers

Common causes

How to fix it

As the client

As the server

Examples

PUT /dav/shared/spec.docx HTTP/1.1
Host: files.example.com

HTTP/1.1 423 Locked
Content-Type: application/xml; charset=utf-8

<D:error xmlns:D="DAV:"><D:lock-token-submitted/></D:error>

Specifications

RFC 4918 §11.3

See also