I just created a project in Google Places API and got a key.I tried one of their sample query in the browser. It worked fine once. But as soon as I run it again, I get below error
{
"error_message" : "You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http://g.co/dev/maps-no-account",
"html_attributions" : [],
"status" : "OVER_QUERY_LIMIT"
}
That seems odd. What am I missing?
I had the same issue after I'd used my Places API key for quite a bit, have you been using the key for a while now? Maybe the total number of requests per day are restricted beyond a certain limit. I believe they have weekly quotas as well.
Adding a billing account resolved it.
Related
After a month using google's reCaptcha on my website, i received this message
Thank you for being a reCAPTCHA user. Your site key is currently using
reCAPTCHA over the quota limit of 1 million calls per month. If you do not
migrate to reCAPTCHA Enterprise, within 60 days following this notice, your
site key will not protect your webpage after 1 million calls per month.
It is clear the free version allows up to 1 million calls per month. While my website does much more
What I wanna know : if I create a new Google account and register a new key but for the same domain, will it work after the first one expires ?
No, creating a new Google account and registering a new reCAPTCHA key for the same domain will not work after the first one expires. The quota limit of 1 million calls per month is applied per site key, not per Google account. If you exceed this limit, you will need to upgrade to reCAPTCHA Enterprise or find an alternative solution. Simply creating a new account and registering a new key will not solve the issue and your website will still be unprotected after exceeding the monthly quota limit.
tl;dr: I'm getting Quota Error: You have exceeded the maximum number of writes/day for this project even tho I have 50k queries / day as the quota limit.
I have a project on google cloud consle with GA API enabled:
Oddly enough, in the GA Quotas view I see two anonymous Query sections, both with 50k queries / day: (deleted the graphs to capture both quotas on same screen)
A side question here, why do I have two Query sections? what does each mean?
I have a service account with access to this project:
with a generated JSON key:
and I'm using that service account to make API requests:
const path = require('path')
const { google } = require('googleapis')
module.exports = createApiInstance
const keyFilePath = path.resolve(__dirname, '../../credentials.json')
const auth = new google.auth.GoogleAuth({
keyFile: keyFilePath,
scopes: ['https://www.googleapis.com/auth/analytics.edit'],
})
auth.getClient().then(client => {
client.request(params)
})
I can get away with just a few requests in a day before I run into the quota limit error.
One weird thing is that even tho I just made some requests a few minutes ago, the service account's logs come up empty:
Which would be tempting to say the service account isn't being used, but, if that was the case how would I be able to get away with the few requests that do actually pass?
I'm not using any Auth'ing other than the service account generated credentials file 🤷‍♀️
As an aside, we are using the same service account with the same credentials file on another project for a different google API, and it works as expected.
any ideas what's going on here?
First off do not go by what you are seeing in the google developer console.
The report does not display write requests only total requests.
Default write request quota is 50 not 50000
that is not Realtime report
its a estimate it is not 100% correct
not all apis write to the service account logs.
this is a project based quota so if you have any other methods writing then they are in the same total.
If the error message says you are going over the limit you are going over the limit. Just apply for an extension. This is one of the easer apis to get an extension on.
Limits and Quotas on API Requests
You have to go over to https://console.cloud.google.com/ to see what your writes per day are
For some reason, I started getting 403 errors on my app(in development), the errors message was
Access Not Configured. YouTube Data API has not been used in project XXXXXXXX....
This is weird because I was using the API for the last month or so with the same project, and didn't do any changes.
After looking in the project settings I noticed that the daily quota was reduced to 0.
The only thing concerning the API that I did was to request a quota increase in order to keep developing(The default quota stalled the dev on the search functionality of my app), but I didn't get any answer concerning that request other than asking for info, no warnings, or anything really.
I'm pretty sure that my app complies with the Terms of service, so I don't think that is the reason.
Any help would be appreciated. Thanks!
I would check your email it sounds like your project was disabled. Have you been though the verification process?
YouTube reserves the right to disable or curtail your access to, or use of, specific YouTube API Services if your API Project has been inactive for 90 consecutive days. For example, YouTube could revoke your API Credentials, or reduce (or eliminate) your API Project's quotas for specific YouTube API Services. If your API Client's quota is reduced or eliminated, you may reapply for quota or a quota extension, and YouTube will review that application based on YouTube’s determination of your expected use of the YouTube API Services.
I would check your email. I have several emails about projects i no longer use which have had the quota reduced to 0 over the last few weeks.
How to reset
No matter what the clients you have now are not going to work you need to reset the project.
Delete all client ids you have now.
deactivate then reactivate all APIs you need
Create new client ids keys
If you're trying to use an old project, then it's not gonna work. You'll have to create a new project.
Create a new project.
Enable Youtube API for it. (Your quota will be reset to 10,000/day)
Get new API key for it.
Use the new credentials.
I am currently building a NodeJS backend app that is querying the Google Calendar API. I have setup a new project on Google Cloud API platform and have generated all the required credentials. As stated by the google calendar API page, the allowed queries per day is 1,000,000. Since I am only querying for testing purposes at the moment, I am sure that I haven't even hit a 100. Yet whenever I try to query the API it returns the error:
"The API returned an error: Error: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
Also I have noticed that the dev console has generated a API key for me. Where am I supposed to put that?
My initial thinking is that Google API requires me to perform an additional signup using some CLI tools or something along those lines to signup. If not, where am I supposed to sign up?
Thanks in advance.
Note: I already have all the information from the cloud platform such as client_id, client_secret, project_id.
In "Error: Daily Limit for Unauthenticated Use Exceeded", they key word is Unauthenticated. Your request to the Calendar API is missing an OAuth Access Token. You will need to research Google OAuth.
This question has been answered many times. Please learn how to search SO for similar questions whenever you post a new question. https://stackoverflow.com/search?q=google+oauth+%22daily+limit+for+unauthenticated%22
To anyone who comes across this post in the future. I fixed the issue by using the project generated by Google Calendar API site (https://developers.google.com/calendar/quickstart/nodejs) by clicked the big blue "Enable the google calendar api" and then changing the name of the quickstart project that was generated. I don't know why it works now but it does and it's been working quite stably so far. Lets see how to goes.
I've been trying to obtain a Google Apps user's used quota and I find that it is possible with Admin SDK Reports API. However, it seems that it can only give you information from two days ago and before. This is the error I obtain:
Reason: "invalid"
Code: "400"
Message: "Data for dates later than 2014-06-04 is not yet available. Please check back later"
Domain: "global"
Is there any way to obtain this information in real time, or at least from the same day of the request?
Thanks in advance.
Quota is available via both the Drive api about.get() API call:
https://developers.google.com/drive/v2/reference/about/get
As well as via standard IMAP QUOTA command.