Too many resource exhausted errors in the last 48 hours

87 views
Skip to first unread message

Özgür Nevres

unread,
May 31, 2024, 9:58:43 AM5/31/24
to Google Ads API and AdWords API Forum
Hi,

I have gotten too many resource exhausted errors in the last 48 hours. But, in fact, my request count has not changed. Did the 15,000 requests per day limit change?

This is my request count today: 

request-count-today.png

Errors in May. See the pike at the end of the month, almost all of them are resource exhausted errors.

errors-may.png

Google Ads API Forum Advisor

unread,
May 31, 2024, 11:38:14 AM5/31/24
to ozgur....@earnado.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

I understand that you have encountered the "RESOURCE_EXHAUSTED" error, which means that a system frequency limit has been exceeded. Kindly prevent sending too many requests in a short period of time and also ensure to set up short delays between requests or combine more operations in fewer requests. Also, please check this sample code for how to Handle a Rate Exceeded Error for more information.

Additionally, we also have daily API operation limits where requests that violate these limits are rejected with the error: RESOURCE_EXHAUSTED. You may check out API Limits and Quotas for more information. 

I could see that you have not provided the logs. In order to investigate the issue further, provide us with the complete API logs (request and response with request-id and request header) generated at your end to assist you better.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ9WF:ref" (ADR-00237363)

Thanks,
 
Google Logo Google Ads API Team


Özgür Nevres

unread,
May 31, 2024, 12:02:22 PM5/31/24
to Google Ads API and AdWords API Forum
Sample error message:

Exception message: One or more errors occurred. (Status(StatusCode="ResourceExhausted", Detail="Resource has been exhausted (e.g. check quota)."))|
{
  "StatusCode": 8,
  "Details": "Resource has been exhausted (e.g. check quota).",
  "RequestId": "wMZ7Q4MBgylMpAVT7SrX8Q",
  "Failure": {
    "errors": [
      {
        "errorCode": {
          "quotaError": "RESOURCE_EXHAUSTED"
        },
        "message": "Too many requests. Retry in 900 seconds."
      }
    ],
    "requestId": "wMZ7Q4MBgylMpAVT7SrX8Q"
  }
}

Reply all
Reply to author
Forward
0 new messages