423 HTTP Origin: Network Last updated 15 Oct 2026

HTTP 423 Locked

The resource is locked, so the change was refused — common with WebDAV files and some APIs that lock records during processing.

Exact message you may see The resource that is being accessed is lockedfile is locked
Seen on: REST API

Meaning

WebDAV (SharePoint, Nextcloud, ownCloud, IIS WebDAV) returns 423 when another user or a stale lock holds the file. Some APIs use 423 for records being processed or accounts locked after failed logins.

Common causes

  • File open/checked out by another user or app
  • Stale WebDAV lock after a crash
  • Record locked while a background job processes it
  • Account locked after too many attempts

⚡ Quick fix

  1. Close the file elsewhere or wait for the lock to expire
  2. Remove the stale lock (admin)
  3. Retry later for processing locks

Detailed fix by platform

Nextcloud

  1. bash
    sudo -u www-data php occ files:scan --all
    # stale locks: enable maintenance mode and clear the oc_file_locks table, or use Redis-based locking

How to diagnose

  1. Holder — Who holds the lock and since when?
  2. Expiry — Does it clear on its own?
  3. Account — Is it a login lockout instead?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

100 — HTTP 100 Continue (HTTP)100403 — HTTP 403 Forbidden (HTTP)403409 — HTTP 409 Conflict (HTTP)409424 — HTTP 424 Failed Dependency (HTTP)424507 — HTTP 507 Insufficient Storage (HTTP)507ALREADY_EXISTS — API Error: Resource already exists (ALREADY_EXISTS / resource_already_exists / 409) (API)ALREADY_EXISTSunexpected_state — API Error: Invalid state transition — operation not allowed in the resource’s current state (API)unexpected_state423

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.