简体   繁体   中英

Gmail Api gives user rate limit exceeded error

com.google.api.client.googleapis.json.GoogleJsonResponseException: 429 Too Many Requests
{
  "code" : 429,
  "errors" : [ {
    "domain" : "global",
    "message" : "User-rate limit exceeded.  Retry after 2020-08-25T06:45:05.452Z",
    "reason" : "rateLimitExceeded"
  } ],
  "message" : "User-rate limit exceeded.  Retry after 2020-08-25T06:45:05.452Z",
  "status" : "RESOURCE_EXHAUSTED"
}

This error is continuously coming in our production system where we read support emails and store them in our database. Because of this issue, we are unable to store customer complaints in our platform.

2020-08-25T06:45:05.452Z

The above time is 9 hrs from now and I can't afford that long delay as well.
On the cloud console, the api quota limit hasn't exceeded and I don't know where to check user limits.

Here is my cloud quota usage

429 Too Many Requests

Means that you have hit one of the daily quota limits. There are limits as to how many requests your project can make per day. This limit will reset at midnight west cost usa time.

You should increase your quota or apply for a quota extension this will depend upon the API you are using.

There is nothing you can do once you hit this quota you will need to wait for it to reset and make fewer requests tomrrow.

If you go to the Google developer console. there are better graphs that will show what your project has been doing.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM