Avoid getting io.grpc.StatusRuntimeException/INTERNAL: Internal error encountered

280 views
Skip to first unread message

Philipp Hofschweiger

unread,
May 25, 2022, 3:59:54 AM5/25/22
to Google Ads API and AdWords API Forum
Hello,
we are getting these errors on a daily basis, so far did not find any specific pattern. It happens for bigger report downloads, as well as for small queries. Most of the time retrying helps as a work around, however we would like to learn more about the root cause and if we can avoid these errors completely? Are we causing these errors somehow, or is it really, as the error documentation says, a server-side "bug"? 

Example FAILURE REQUEST SUMMARY::

Method: google.ads.googleads.v10.services.GoogleAdsService/SearchStream
RequestID: ZdQ18dNAfsDERfeIQoqrYA, 
ResponseCode: INTERNAL
Fault: Internal error encountered..

Thanks for the help! 

Google Ads API Forum Advisor

unread,
May 25, 2022, 7:30:46 PM5/25/22
to philipp.ho...@smarter-ecommerce.com, adwor...@googlegroups.com
Hi Philipp,

Thank you for posting your concern. Let me provide insights here.

Allow me to provide an overview for this error first, it occurs when something unexpected happens while processing the request or the API isn't functioning correctly due to a bug. However, this is transient in nature so retrying the API requests after 30 minutes or sometimes will mostly work.

It appears that you are experiencing "something unexpected happens" since you mentioned that it is working when retrying the API requests. With this, I would strongly recommend to retry it for now as there are no specific patterns as you mentioned due to temporary issues on the API side or on your application side.

However, in the event that this error occurs consistently with a pattern, then this is the time that we need to check this error. You can just provide first the details below via Reply privately to author option or via this email alias googleadsa...@google.com.
Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bDIiI:ref

Philipp Hofschweiger

unread,
May 30, 2022, 1:58:46 AM5/30/22
to Google Ads API and AdWords API Forum
Hello! 
Thanks for the quick response! 

Following up on your suggestion to stick with retrying for now i'd have a general question regarding the retry mechanism. What is the "scope" of this suggestion? Is it "just this specific request that we trigger again e.g. 30 minutes later" or is it recommended that there are no request at all from this source (developer token?) for a certain amount of time? In short, do we have to expect more errors from the API for some time after we experience "something unexpected happens" or are other requests not affected by this?
BR Philipp

Google Ads API Forum Advisor

unread,
May 31, 2022, 12:21:59 AM5/31/22
to philipp.ho...@smarter-ecommerce.com, adwor...@googlegroups.com
Hi Philipp,

I am Carmela, also a member of the Google Ads API team. Thank you for getting back to us.

As an update on what my colleague has mentioned, kindly note that you have to wait for about 30 seconds only.


Also, to answer your questions in general, please note that the specific request encountering this error will be the only request that will not execute and it will not affect the other requests.

The said error that you've encountered is one of the Retryable errors. Some errors, such as INTERNAL_ERROR, can indicate a temporary problem that may be resolved by retrying the request after a short pause. Please see this documentation for more details about the Retryable errors.
 

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bDIiI:ref

Philipp Hofschweiger

unread,
May 31, 2022, 8:19:07 AM5/31/22
to Google Ads API and AdWords API Forum
Thanks for you help! We'll improve our retry handling and come back to you in case we face further issues. 
BR Philipp
Reply all
Reply to author
Forward
0 new messages