Exceeded Request quota for this API error - google-maps

We have already successfully configured the API Key but we keep getting the error error See You have exceeded your request quota for this API. Do I need to enable the billing for this?
This is the link that has error

Upon checking the site, the error was related to having no billing account, to fix the issue, kindly create a billing account in your GCP Console and associate the billing account to your project where the API key you're currently using belongs. After associating a billing account, your map should be working fine.
In addition, please note that you can only call a single API request if you don't have a valid billing account associated to your project.

Related

Error message when calling model derivative API - but I have a subscription

I had a trial account and the paid APIs expired, then I bought a subscription which was setup in the last day or so. But, when I call to transform a drawing (simple AutoCAD drawing in a bucket) I get the error below.
{
"developerMessage": "You are not allowed to use this API because your Forge trial is expired.",
"moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/",
"errorCode": "ERR-004"}
please advise. My account in account management does show that I have an active subscription, and I see 100 credits allotted to my named user account. Application Client ID is shown in the image below
this appears to be working now. I do not know if something got jiggled on the backend or not, if so thank you!

Gdrive API error 403 for transferring ownership "Rate limit exceeded. User message: "Sorry, you have exceeded your sharing quota."

There is no documentation on any sharing quota. My limited understanding based on some searches is that it's in place to prevent some kind of spamming.
Google will not let a user transfer ownership of a file outside of the domain in which it is already owned, so I'm obviously not spamming people in my own private Gsuite domain.
Is there a way to lift this restriction? Is there any documentation on this?
As stated by this documentation here:
A sharingRateLimitExceeded error occurs when the user has reached a sharing limit. This error is often linked with an email limit.
In order to fix the error, you can try the following:
Do not send emails when sharing lot of files.
If one user is making a lot of requests on behalf of many users of a G Suite domain, consider a Service Account with authority delegation to impersonate the owner of each document to share (setting the quotaUser parameter).
Moreover, you can check the status of your quota for the Drive API by accessing the Google Cloud Project for it and checking the Quotas section:
Reference
Google Drive API Resolve Errors;
Using OAuth 2.0 for Server to Server Applications;
Viewing your Quota

Enable Billing on the Google Cloud Project

I want to retrieve address from lat long coords. I have created project in google console. Added Billing information and enabled the geocoding api services. But still when i make this request i am getting the below error
https://maps.googleapis.com/maps/api/geocode/json?latlng=41.89,12.49&key=xxxx
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable
I was also Facing the same issue, Billing is enabled and is linked to the project but I was getting the same Error.
After Spending enough time on this issue, I understood that the type of my billing account is "Google Cloud Platform", but it should be of type : "Google Maps Platform"
You can see the type of your billing account on the right side of Billing Overview as in the image:
So please check if your Billing type is "Google Maps Platform", if not create a new Billing Account with "Google Maps Platform" as type and link your project to this Billing Account.
Most of us are getting this response/error
{
"error_message" : "You must enable Billing on the Google Cloud Project at <br>https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started",
"predictions" : [],
"status" : "REQUEST_DENIED"
}
If you will read this answer throughly you'll be able to sort out this issue.
As mentioned in this answer.
You'd have to create a separate billing account in order to use Google Map APIs because google map bills in USD currency instead of your native currency.
Solution(3 step)
create a new billing account.
create a new project and associate it with above billing.
enable Map API and create a new API key. that's it.
Step1: create a new billing account, you can use this link https://console.cloud.google.com/billing/create and Choose Google Map Platform from the dropdown.
Step2: create a new project using this link https://console.cloud.google.com/projectcreate and use billing account created above.
Step3: Now you can enable particular API and you're good to go. That's it.
Make sure that the API key you are using to authenticate the request is from a project that has an active billing account. If not, your requests will fail and if you are using Javascript API, your map will get the "Degraded experience".
Below are some of the links we have that could be helpful in your use case.
Managing your billing accounts
Modify a project's billing settings
Viewing your cost trends with billing reports
Once everything is set up, you can always file a support case via https://console.cloud.google.com/google/maps-apis/support in order to open personalized communication channel whenever you are encountering issues with our product.
Thank you and hope this helps!
Go back to the billing account and see if something went wrong with your credit card. Credit cards are validated asynchronously.
Go to the GCP Console and verify that your billing account is assigned to the project.
In the GCP Console check for past due amounts.
After you assign/modify a credit card, wait. The process is not instant in (re)authorizing billing for your account.
I had the same issue. I was doing everything correct.
then I found this link
Gmp india faq
The problem was Google maps billing doesn't support INR Currency.
Please check if your currency compatible with Google Maps billing platform otherwise create new billing account with USD currency.
Thanks!
You may find this link helpful
Modify a project billing settings
I have had similar problem, when I have created a free tire payment account and I was not able to create a Windows VM as thesse are paid.
To fix I have "upgraded" the free tier payment account. It was confusing because the payment account has had enabled a valid payment method and linked to the project but it was not working.
There is a button to upgrade the free tier payment account, on the account dashboard page.
For those of you who enabled their billing account through the link in the error message but still get the error, or can't find "Enabled google service" as someone else suggested, simply just delete your browsers cache and try again.
For anyone still struggling , my case was that i have reached a maximum of projects for the same billing account and for some reason i couldnt create a new one as mentioned above , for that after a lot of reasearch i found that i could disable billing for some project so i can use it in new ones :
1- go to the link https://console.cloud.google.com/billing/projects
2- click on the three dots for the first projects (the billing is enbale for those projects).
3-disable one of them
4- enable the billing for your new project and you are good to go !
however still not sure why i could only enable this for just 3 project , i think it is not a lot !
Use:
gcloud alpha billing accounts list --format json
# ^^ find an active billing account then
ACCOUNT_ID='0XYXYX-XYXYXY-XYXYXY'
gcloud beta billing projects link $PROJECTNAME --billing-account $ACCOUNT_ID
# ensure it says "billingEnabled: true"

I am getting error on places Api "over query limit"

I am getting an error "OVER_QUERY_LIMIT" and on my console and I see response code 403 on Places API metrics.
I have ensured that billing is enabled and there is no cap on the limit for the API.
I was using Places SDK Android and now I am trying to use Places API on the same project and I get the error "OVER_QUERY_LIMIT".
Aside from billing account not enabled and exceeded cap, you usually get that error when any of the following is true:
An API key is missing from the request.
The provided API key is invalid.
Billing is not associated with your project.
The provided method of payment is no longer valid (for example, a
credit card has expired).
You have exceeded the QPS limits for Places API.
More details on that can be found on this link:
https://developers.google.com/maps/faq?#over-limit-key-error
For further assistance, kindly file a support case via https://console.cloud.google.com/google/maps-apis/support in order to open personalized communication channel.
OK disabled and enabled the API and made a new API key. That solved my issue. I have no explanation why it works by disabling and re-enabling the API.

Google maps geocode api free daily limit get over in one hit, it happening due to I not enable billing?

I am hitting below URL to test my key
https://maps.googleapis.com/maps/api/geocode/json?latlng=20.0041,73.7175&key=$key
it show this an error after one hit
{
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",
results:[],
status: "OVER_QUERY_LIMIT"
}
Please help me why it is happening, anything to do with enable billing?
As stated in the comments to the question, you need to enable billing, even if you are only using the free quota. See the docs about this change for more information.