Dry7
Dry7

Reputation: 881

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

Upvotes: 9

Views: 4646

Answers (2)

user151496
user151496

Reputation: 1987

I have finally found an answer! The Google console has a major ux BUG in it. When you don't use the api for a while, it Google will disable the Business API (or it gets disabled after the API update).

HOWEVER, the Google console will still show that your My Business API access is enabled! While in reality it's not! And the button to the google form requesting the access is gone, so you can pull your hairs out, because the other My Business related apis will show you 0 quota, even though the main My Business API will show you non-zero quota and that it's enabled while it's not.

You have to re-request your google my business api here again, even if it shows you that you already have it enabled.

It took us weeks to realize that Google has a bug on their side (and they haven't even bothered to fix it or admit that they have a bug in their panel, they just sid "access is not enabled" when contacting them).

Developing with Google has always been and still is a true hell on earth, very comparable to Facebook developer experience.

Upvotes: 0

FLYqtFLY
FLYqtFLY

Reputation: 81

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.

Upvotes: 5

Related Questions