cluster_block_exception API Origin: Application & API OSI layer 7 · Application Last updated 2 Dec 2026

Elasticsearch: cluster_block_exception: index [x] blocked by: [TOO_MANY_REQUESTS/12/index read-only / allow delete (api)]

Writes are blocked because the disk crossed the flood-stage watermark and Elasticsearch made the index read-only.

Exact message you may see index read-only / allow deleteflood stage disk watermark
Seen on: Elasticsearch OpenSearch

Meaning

At 95% disk usage (default) the cluster sets read_only_allow_delete on affected indices. After you free space, older versions need the block removed manually.

Common causes

  • Disk above the flood-stage watermark
  • Large indices without ILM or deletion
  • Snapshots or logs filling the volume
  • Node with small data disk

⚡ Quick fix

  1. Free disk space or add storage
  2. Remove the block after space is available
  3. Add ILM to delete old data

Detailed fix by platform

Elasticsearch

  1. PUT _all/_settings {"index.blocks.read_only_allow_delete": null}

How to diagnose

  1. Disk — Usage per node?
  2. Watermark — Flood stage reached?
  3. Retention — ILM in place?

🔧 Still not fixed?

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

🧠 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.