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" } }
On Friday, May 31, 2024 at 6:38:14 PM UTC+3 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > I understand that you have encountered the "RESOURCE_EXHAUSTED > <https://developers.google.com/google-ads/api/docs/common-errors?hl=en#quotaerror>" > > 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 > <https://developers.google.com/google-ads/api/samples/handle-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 > <https://developers.google.com/google-ads/api/docs/best-practices/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 > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > with request-id > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > and request header > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>) > > 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* > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging> > , *.Net* > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , *PHP* > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , *Python* > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , *Ruby* > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or *Perl* > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > 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, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/79927c68-1ef9-430b-bd10-de583098b84bn%40googlegroups.com.