My Business
1.8K members online now
1.8K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

No idea what this 429 Error Message means

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I'm having trouble deciphering this 429 error message.

 

{ "error": { "code": 429, "message": "Insufficient tokens for quota group and limit 'DefaultWriteGroupCLIENT_PROJECT-1d' of service 'mybusiness.googleapis.com', using the limit by ID '#######'.", "status": "RESOURCE_EXHAUSTED", "details": [ { "@type": "type.googleapis.com/google.rpc.Help", "links": [ { "description": "Google developer console API key", "url": "https://console.developers.google.com/project/##########/apiui/credential" } ] } ] } }

 

Having searched other Google APIs I assume I exceeded one of the limits? Where can I find more information regarding the error message and how to resolve the issue?

 

Thanks!

2 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Jefferson H
November 2016

No idea what this 429 Error Message means

Follower ✭ ✭ ☆
# 4
Follower ✭ ✭ ☆

Hi Jefferson,

 

Yes you will see these errors if you exceed QPS.  Try setting up a retry loop using 

Incremental back off.  https://developers.google.com/analytics/devguides/reporting/core/v3/coreErrors

 

 

View solution in original post

Re: No idea what this 429 Error Message means

Google Employee
# 2
Google Employee

Hi @Jefferson H,

 

The error indicates that you have exhausted the quota assigned to your company’s whitelisted project to access the Google My Business API. Please check out the Usage Limits to verify whether your current quota proves to be insufficient, and the rate limit restrictions on the API in the FAQ for the action you can take if that's the case.

 

Thanks,

Terry

No idea what this 429 Error Message means

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi Terry,

 

Thanks for getting back to me.  The GMB api console shows that we have not come close to hitting our assigned quota.  Is it true I will see the above error is I exceed the QPS rate limit restriction?

Marked as Best Answer.
Solution
Accepted by topic author Jefferson H
November 2016

No idea what this 429 Error Message means

Follower ✭ ✭ ☆
# 4
Follower ✭ ✭ ☆

Hi Jefferson,

 

Yes you will see these errors if you exceed QPS.  Try setting up a retry loop using 

Incremental back off.  https://developers.google.com/analytics/devguides/reporting/core/v3/coreErrors

 

 

Re: No idea what this 429 Error Message means

[ Edited ]
Google Employee
# 5
Google Employee

Hi @Jefferson H,

 

You might want to double-check your Create/Update Location actions in the Google API Console for the Google My Business API because the error message indicates that you may have exceeded your 1k create/edit calls per day per project API usage limit. Please also limit your API usage to 5 queries per second (QPS) per project when sending requests.

 

Thanks,

Terry

No idea what this 429 Error Message means

Follower ✭ ☆ ☆
# 6
Follower ✭ ☆ ☆

Hi @Terry W

 

I'm not sure whether to this point here, But still is this the issue(5 queries per second) which is causing https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Java-Pagination-Inconsistent-review.... Please help me with this.

Re: No idea what this 429 Error Message means

Google Employee
# 7
Google Employee

Hi @Vinod Reddy S,

 

Please repost your question with source code to the Google My Business API community publicly so that the community can benefit from any responses to your questions as well as contribute any solutions they’ve used to solve similar problems.

 

Thanks,

Terry

No idea what this 429 Error Message means

Follower ✭ ☆ ☆
# 8
Follower ✭ ☆ ☆

Hi @Terry W

 

sorry for that, here is the updated post https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Java-Pagination-Inconsistent-review.... Could you please look into it

Re: No idea what this 429 Error Message means

Google Employee
# 9
Google Employee

Hi @Vinod Reddy S,

 

I don’t know how you created your thread in the first place, but I can’t post a response to that thread and the neither can the community. Please start a regular new thread with the same question and source code on this Google My Business API board.

 

Thanks,

Terry

No idea what this 429 Error Message means

Visitor ✭ ✭ ✭
# 10
Visitor ✭ ✭ ✭

Hi Terry,

 

Question about this: 
" Please also limit your API usage to 5 queries per second (QPS) per project when sending requests"

 

According to this documentation:

https://developers.google.com/my-business/content/limits

 

"Most actions" have a 5QPS limit, and create/update also have a 5QPS limit. It's not clear whether this means that there is a shared limit, two independent limits. For example, if I perform 3 reads and 3 writes in a given second, have I violated the limit(s) or not? We initially interpreted this documentation to mean that we are allowed 5 reads and 5 writes, for a total of 10 API requests, per second. We have gotten 429s before well before exceeding our daily write limit of 1,000 writes, and we suspect it may be due to erroneous interpretation of how the QPS limits work. 

 

Jefferson and I work together, so this is directly relevant to this thread and that's why I didn't create a separate thread for this question.