Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google My Business API return 429 code all time

{ "error": { "code": 429, "message": "Quota exceeded for quota metric 'Requests' and limit 'Requests per minute' of service 'mybusinessaccountmanagement.googleapis.com' for consumer 'project_number:xxx'.", "errors": [ { "message": "Quota exceeded for quota metric 'Requests' and limit 'Requests per minute' of service 'mybusinessaccountmanagement.googleapis.com' for consumer 'project_number:xxx'.", "domain": "global", "reason": "rateLimitExceeded" } ], "status": "RESOURCE_EXHAUSTED" } }

Why do I receive such a message immediately after logging in? I haven't had time to use api yet

like image 790
Dry7 Avatar asked Mar 27 '21 18:03

Dry7


People also ask

What is error 429 on Google?

A 429 "Too many requests" error can occur due to daily per-user limits, including mail sending limits, bandwidth limits, or a per-user concurrent request limit.

Does Google API have a limit?

Number of requests per day per project: 50,000. Number of requests per view (profile) per day: 10,000 (cannot be increased) Number of requests per 100 seconds per project: 2,000. Number of requests per 100 seconds per user per project: 100 (can be increased in Google API Console to 1,000).

How do I increase my Google API quota?

Increase the quota for an API Go to Google Cloud and sign in as a Google Workspace super administrator. Under Project, select the project you're using for the migration. Quotas. Using the checkboxes, select one or more quotas to edit, then click Edit Quotas.

What is quota in API?

API quotas usually describe a certain amount of calls for longer intervals. For example, your API quota might be 5.000 calls per month. Remember that this could be combined with a rate limit or throttling setup e.g. 20 TPS (Transactions per Second).


1 Answers

I guess you already applied for accesss to GMB API and GMB Account Management API. You usually get approved for both in less than 2 weeks, but, here comes the answer to your question, now you also need to request an increase for the GMB Account Management API Quota, as this API get approved with a 0 quota. You can request this from a couple different places. I think I requested mine from the project Quota section in console.cloud.google.com. You should get your new quota in 1-2 weeks.

It is clear they should update reference docs more in detail.

like image 61
FLYqtFLY Avatar answered Oct 19 '22 03:10

FLYqtFLY