The Ultimate Guide to HTTP Status Codes (100–599)
A complete reference guide to all HTTP status codes from 100 to 599, with explanations and common use cases.
Feb 28, 2026
4xx Client Error
The 423 (Locked) status code indicates that the source or destination resource of a method is locked. This is used in WebDAV to prevent modifications to a resource that is currently locked by another user.
In a WebDAV-based document management system, when a user tries to modify a file that another user has locked, the server responds with 423 Locked. The response should include information about who holds the lock and when it was acquired.
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:">
<d:lock-token-submitted>
<d:href>/locks/abc123</d:href>
</d:lock-token-submitted>
</d:error>