Firestore: 8 RESOURCE_EXHAUSTED: Quota exceeded (free-tier daily limit or write rate)

The project hit a Firestore quota, such as the Spark plan's daily read/write limits or rate limits on writes.

Exact message you may see 8 RESOURCE_EXHAUSTED: Quota exceeded.Firestore quota exceededFirebaseError: Quota exceeded. (resource-exhausted)resource-exhausted Firestore daily limitQuota exceeded: Firestore free tier
Seen on: Firebase Google Cloud

Meaning

On Spark the daily free quota is 50K reads / 20K writes / 20K deletes; upgrade to Blaze for more. Also reduce reads (cache, listeners instead of polling, limit queries), batch writes, and look for loops or runaway listeners in the usage dashboard.

Common causes

  • Spark plan daily quota used up
  • Runaway read/write loop
  • Too many listeners or full-collection reads
  • Write rate too high on a key range
  • Billing not enabled

⚡ Quick fix

  1. Upgrade to Blaze or reduce usage
  2. Add caching/limits/pagination
  3. Check Usage in the Firebase console

Detailed fix by platform

Shell

  1. firebase open firestore:usage

How to diagnose

  1. Plan — Spark?
  2. Usage — Spiking?
  3. Loop — Present?

🔧 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: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

429 RESOURCE_EXHAUSTED: Quota exceeded for quota metric — Google API: 429 RESOURCE_EXHAUSTED — Quota exceeded for quota metric 'Read requests' and limit 'Read requests per minute per user' (Google Cloud / Firebase)429 RESOURCE_EXHAUSTE…BigQuery: Quota exceeded: Your project exceeded quota for free query bytes scanned — BigQuery: Quota exceeded: Your project exceeded quota for free query bytes scanned. Consider enabling billing (Google Cloud / Firebase)BigQuery: Quota excee…connections — Realtime Database: 100 simultaneous connections limit on the Spark plan (new connections refused) (Google Cloud / Firebase)connectionsDML limits — BigQuery: Exceeded rate limits — too many concurrent DML statements / table update operations (Google Cloud / Firebase)DML limitsFirebase: Your project must be on the Blaze (pay-as-you-go) plan — Firebase CLI: Error: Your project my-app must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete (Google Cloud / Firebase)Firebase: Your projec…hotspotting — Firestore write latency/errors: hotspotting from sequential document IDs or indexed fields (Google Cloud / Firebase)hotspottingIN_USE_ADDRESSES — Quota 'IN_USE_ADDRESSES' exceeded (external IP addresses) in region (Google Cloud / Firebase)IN_USE_ADDRESSESRequester Pays — Cloud Storage 400: Bucket is a requester pays bucket but no user project provided (Google Cloud / Firebase)Requester PaysRESOURCE_…

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.