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.

We would appreciate any suggestions on how to prevent this issue. Thanks!

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.