Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase storage Quota has been exceeded

I have set up a test account on firebase just for development purposes.

I made use of the storage feature and so I uploaded manually an image with the size of 400kb which later I downloaded through an IOS application.

All of a sudden the application stopped working and I cannot access the storage from the console.. I get the message "warning Can't connect to server. Try again in a few minutes."

By searching in the stackoverflow, I found some people claiming that this has to do with multiple google accounts signed in from the same browser etc..

The IOS application though, logs the following error:

Error Domain=FIRStorageErrorDomain Code=-13000 "An unknown error occurred, please check the server response." UserInfo={object=images/nicewall.jpg, bucket=partyreports-49b0a.appspot.com, ResponseBody={ "error": { "code": 402, "message": "Quota has been exceeded for this project. Please visit the Firebase pricing page to learn more." }

Please pay attention to the message "Quota has been exceeded.."

How is this even possible? The analytics/events shows "session_start:193" which I assume is how many times the application connected to the Firebase.

Now if my calculations are correct 193x400KB is way less than the 30GB traffic limit..

It is worth noting that I have a second project setup under the same account which I don't use at all.. and the storage is accessible..

After googling a bit, I found that I should have billing information setup.. and so I did.. after a few minutes I can access the storage again..

How can I tell what was wrong?

  • Was it the billing account? Or that was a random incident?
  • I do NOT believe my app exceeded the limits
  • How often the limits reset?
  • Where can I see the actual limits for each service/feature?

Thanks and sorry for the long post!

like image 914
user2399432 Avatar asked Jul 13 '16 20:07

user2399432


People also ask

What is the limit for Firebase storage?

Quota for Hosting storage Storage for your Hosting content is at no cost up to 10 GB. If you are not on the Blaze plan, and you reach the 10 GB limit of no-cost Hosting storage, you won't be able to deploy new content to your sites.

How many users can firebase handle for free?

Show activity on this post. The limit you're referring to is the limit for the number of concurrently connected users to Firebase Realtime Database on the free Spark plan. Once you upgrade to a payment plan, your project will allow 200,000 simultaneously connected users.

How many documents can firebase handle?

Keep the rate of documents the database pushes to all clients under 1,000,000 documents/second. This is a soft limit.


2 Answers

Sorry you had issues! Here are some answers:

  • Was it the billing account? Or that was a random incident?

Unsure why it happened--it's possible that there's a bug in our quota system, or it's possible that you ended up storing or sending more data than you thought. I'm not sure how you're using storage, but if you've got a 400kB image and we have a 1GB/day limit, that's 2500 downloads/day. If you've got 200 users, and they use the app routinely, and the file is downloaded on app start every time, that might explain extra usage.

Our free plan offers 30GB outgoing bandwidth per month, 5GB of data storage total , and 20,000 uploads and 50,000 downloads operations per day--once these limits are hit, the app won't work until the quota resets, or until you upgrade your app. Once you upgrade, the quota limit is removed and the app works, which is why your problem went away.

  • How often the limits reset?

The bandwidth is 30GB/month, enforced as a daily limit (so every 24 hour period means you're allotted 1GB of bandwidth). This limit resets every day.

Storage is 5GB total, and once exceeded you need to remove additional data (or upgrade your plan) before the app works again.

Operations are 50,000 downloads and 20,000 uploads per day.

See the quota limit docs for more info.

  • Where can I see the actual limits for each service/feature?

We're working on exposing usage data for each service in their respective sections of the Firebase Console. Stay tuned for more on this.

like image 128
Mike McDonald Avatar answered Oct 24 '22 08:10

Mike McDonald


I had te same issue, I had upgraded it to blaze plan and then deleted some of the data from the storage and then again downgrade the plan to free and it will start working for testing

like image 4
Umer Waqas CEO Fluttydev Avatar answered Oct 24 '22 06:10

Umer Waqas CEO Fluttydev