Hi am a little confuse on how this works base on firebase quotas on the free plan, been testing my app for months now and never came across this issue. How can i resolve or detect this issue where after couple of hours my quota is exceeded.
{
"error": {
"code": 402,
"message": "Quota has been exceeded for this project. Please visit the Firebase pricing page to learn more."
}
}
<Error>
<Code>InsufficientQuota</Code>
<Message>
The App Engine application does not have enough quota.
</Message>
<Details>
NOT_ENOUGH_QUOTA: App xxxxxxxxxxx does not have enough quota
</Details>
</Error>
Related
I am using firebase to store and see images from my website.
but not able to open files from my firebase storage bucket even it has storage admin role on cloud google.
I am able to see images on directly cloud google console but not from firebase console.
I am getting this response below.
{
"error": {
"code": 401,
"message": "API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a principal. See https://cloud.google.com/docs/authentication",
"status": "UNAUTHENTICATED",
"details": [
{
"#type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"method": "google.internal.cloud.usersettings.v1alpha1.BasicTypesService.GetUserSetting",
"service": "cloudusersettings-pa.googleapis.com"
}
}
]
}
}
note: even link over firebase is not opening with token. It was working 24 hours before. https://firebasestorage.googleapis.com/v0/b/news-26417.appspot.com/o/--4720109.jpeg?alt=media&token=a7475fec-3fe5-48e7-8f99-6e9c57e462b9
firebaser here
Update: from what I understand from our support team and other channels this problem has been solved by the providers now. If it still happens for you, reach out to your provider/ISP and to the support team I linked below.
Old answer 👇
Since yesterday we've had reports from some developers (mostly in Turkey) being unable to access Cloud Storage.
I recommend testing with another connection to verify if you're in the same situation. If it works on another connection, you should probably reach out to your ISP to see if they can explain the problem.
I'd also reach out to Firebase support who are tracking the issue.
After running for 2 years without hitting any quota limits, My app is hitting a daily quota limit on login (firebase phone authentication) which is not allowing any users to use the app and saying "SMS Quota for this project has been exceeded".
I checked firebase auth usage and its far way from the free tier limit(10K), and also it's on Blaze pay as you go plan.
I also checked Google Cloud Platform quotas page and it shows that all quota are within limit..
GCP support replied the following:
"Cloud Functions quotas are all within limits, the quota exceeded messages are coming from another system."
Any idea haw can this be solved?!
From now on firebase new projects currently have an SMS daily quota of 50 / day.
You can see: firebase console > Authentication > sign-in method
if daily sms are exceeding limit
go to : firebase console > open settings > open usage and billing check your daily limit.
Firebase Identity platform daily limit is 10sms/day
Im using Identity platform in my project
You will find details info about it in the below link
Firebase phone auth daily limit info
I am trying to integrate google calendar with my micro service in Jersey.
I have configured the connection following Google documentation and at the moment I am able to create and remove webhooks, and create remove and list events.
However, when I create an event in Google Calendar, the payload of the webhook that Calendar itself hit my endpoint with instead of notifying me the creation of such event it says:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
The scope of the connection to the project is CALENDAR (that should give read/write permission to the project) and in total I don't get to 100 requests, when the limit should be of 100K.
OAuth2.0 should also be correctly configured as I am able to do all the basic CRUD operations.
On Google-side I have enabled the Calendar API(s) and still no luck.
Any idea on what it can be or what I can try to do?
Thanks
Found the (silly) solution on my own... tried to access the uri resource link that Google provided using postman with OAuth2.0 as authentication method. And automatically retrieved the web hook... I was expecting a Json payload, not a link to the payload itself...
I started to get following quota exceeded error
Error: HTTP Error: 429, Quota exceeded for quota group 'ReadGroup' and limit 'CLIENT_PROJECT-100s' of service 'cloudresourcemanager.googleapis.com' for consumer 'project_number:563584335***'.
when I tried to deploy functions using firebase-cli
firebase deploy --only functions --token $FIREBASE_TOKEN
I changed the value of FIREBASE_TOKEN thinking that it might have expired. deploy worked for one time after changing token but then again cli tools again started giving above error. Also, I checked quotas but couldn't find any value that exceed the quota limit. My project is on blaze plan (pay as you go).
Maybe I'm missing something? Could anyone help me out on when exactly this error comes and how to fix it?
This is a known problem being addressed by the Firebase team.
In the future, when you have a problem deploying with the Firebase CLI, you should file a bug report with Firebase support so they can collect information.
It seems the Storage sample [https://github.com/firebase/quickstart-js] sample has 400 error.
Failed to load resource: the server responded with a status of 400 (OK)
It seems the api key is wrong, but I actually copy it from firebase console.
My alive demo is here: https://fir-storage-25695.firebaseapp.com/
Thanks,
If you go a little deeper into your logs you will see that you are getting error auth/operation-not-allowed and it says "The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.".
So, observing your code, on loading you are calling signInAnonymously()
and whats happening is that you haven't enabled the anonymous authentication on your firebase console. Make sure you go there and activate it.