Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Gmail API getting 429 in cloud function

We get several 429 errors from the Gmail users.getProfile API calls in our Cloud Functions last Friday. The error message is attached to this post. Our calling rate was relatively low (~5 req/min for Gmail APIs) when the issue occurred, and our system has previously handled higher rates without any problems.
w268wang_0-1726551830200.png
We would appreciate any suggestions on how to prevent this issue. Thanks!
0 1 300
1 REPLY 1

Hi @w268wang

It looks like the error you're encountering from the Gmail API users.getProfile calls in your Cloud Functions indicates a rate limiting issue. 

Here are some suggestions that might help resolve it:

I hope the above information is helpful.