507 HTTP Origin: Network OSI layer 7 · Application Last updated 12 Oct 2026

HTTP 507 Insufficient Storage

The server can’t store what’s needed to complete the request — the disk, quota or mailbox is full.

Exact message you may see 507 Insufficient StorageInsufficient StorageNot enough free spacequota exceeded
Seen on: REST API

Meaning

WebDAV servers (Nextcloud, ownCloud, SharePoint) return 507 when the user’s quota or the server disk is full. Some hosts and apps also use 507 when uploads exceed account storage.

Common causes

  • User storage quota reached
  • Server disk or temp partition full
  • Upload temp directory on a small partition
  • Trash/versions consuming the quota

⚡ Quick fix

  1. Free space or raise the user’s quota
  2. Empty trash and old file versions
  3. Check server disk usage (df -h) and the upload temp dir

Detailed fix by platform

Linux

  1. bash
    df -h
    sudo du -xh /var/www --max-depth=2 | sort -h | tail

Nextcloud

  1. bash
    sudo -u www-data php occ user:setting alice files quota "20 GB"
    sudo -u www-data php occ trashbin:cleanup --all-users

How to diagnose

  1. Quota — User quota vs used
  2. Disk — Free space on data and /tmp partitions
  3. Versions — Trash/version size

🔧 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):

0x80070070 — Windows error 0x80070070 (There is not enough space on the disk) (Windows)0x80070070102 — HTTP 102 Processing (HTTP)102207 — HTTP 207 Multi-Status (HTTP)207402 — HTTP 402 Payment Required (HTTP)402413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413423 — HTTP 423 Locked (HTTP)423424 — HTTP 424 Failed Dependency (HTTP)424429 — HTTP 429 Too Many Requests (HTTP)429507

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.