Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›HTTP Status Codes Reference›HTTP 423 Locked
4xx Client Error

HTTP 423 Locked

HTTP 423 Locked means the resource is locked and cannot be changed right now. It comes from WebDAV, where files can be locked for editing, and some APIs…

Quick answer

HTTP 423 Locked means the resource is locked and cannot be changed right now. It comes from WebDAV, where files can be locked for editing, and some APIs reuse it for records locked by another process or user.

Last updated · Maintained by FreeAIToolz · How we test

What does HTTP 423 Locked mean?

In WebDAV (SharePoint, Nextcloud, network drives), a client that holds a lock must include its lock token to modify the file. Other clients get 423 until the lock is released or expires.

Status code423
NameLocked
Class4xx Client Error
Defined inRFC 4918 (WebDAV)
Cacheable by defaultNo, unless Cache-Control says so
Safe to retry automatically?No: change the request first

What causes HTTP 423?

  • Another user or app has the file open with a lock.
  • A stale lock left by a crashed client.

How do I fix HTTP 423?

  1. Wait for the lock to expire or release it from the owning client.
  2. Set reasonable lock timeouts so crashed clients do not block files forever.

What should a client do after HTTP 423?

Retry later, or provide the lock token if you own the lock.

Does HTTP 423 affect SEO?

No SEO impact.

Example 423 response

HTTP/1.1 423 Locked
Date: Mon, 01 Dec 2026 12:00:00 GMT
Content-Type: application/json

{"error":{"status":423,"message":"Locked"}}

How to return 423 Locked in code

Express (Node.js)

res.status(423).json({ error: 'Locked' });

Next.js route handler

return Response.json({ error: 'Locked' }, { status: 423 });

FastAPI (Python)

raise HTTPException(status_code=423, detail="Locked")

PHP

http_response_code(423);

Nginx

location = /example {
    return 423;
}

Other 4xx status codes

The request contains an error or cannot be fulfilled as sent. Fix the request before retrying.

Frequently asked questions

How do I clear a 423 Locked file in SharePoint or Nextcloud?
Close the file in the app that has it open, or wait for the lock timeout. Admins can usually remove stale locks.
Is 423 used outside WebDAV?
Occasionally, by APIs signalling that a record is temporarily locked. 409 is more common.
Is 423 a client or server error?
423 is in the 4xx class, so it is classed as a client error: the request needs to change before it can succeed.