423 Locked
The HTTP 423 Locked client error response status code indicates that a resource is locked, meaning it can't be accessed. Its response body should contain information in WebDAV's XML format.
The HTTP **`423 Locked`** [client error response](/docs/Web/HTTP/Reference/Status#client_error_responses) status code indicates that a resource is _locked_, meaning it can't be accessed.
Its response body should contain information in WebDAV's XML format.
> [!NOTE]
> The ability to _lock_ a resource to prevent conflicts is specific to some WebDAV servers.
> Browsers accessing web pages will never encounter this status code; in the erroneous cases it happens, they will handle it as a generic 400 status code.
## Status
```http
423 Locked
```
## Examples
### WebDAV 423 Locked response
```http
HTTP/1.1 423 Locked
Content-Type: application/xml; charset="utf-8"
Content-Length: xxxx
<?xml version="1.0" encoding="utf-8" ?>
<D:error xmlns:D="DAV:">
<D:lock-token-submitted>
<D:href>/workspace/web-dav/</D:href>
</D:lock-token-submitted>
</D:error>
```
## Specifications
## See also
- [HTTP response status codes](/docs/Web/HTTP/Reference/Status)
Cite this
"423 Locked". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/423 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy