RemoteDisconnected('Remote end closed connection without response'))

22 views
Skip to first unread message

Elad Ben-David

unread,
Sep 13, 2021, 9:22:47 PM9/13/21
to Google Ads API Forum Advisor, AdWords API and Google Ads API Forum
Hi,

I'm calling the G-Ads API (python) and then I'm writing some results to the BQ table.

When another client runs my python code on an MCC tree with many sub accounts he gets this error:

Got an error message in the large scale run, the only error I was able to retrieve is the following:

timeout=300.0, headers={'X-Server-Timeout': '300.0', 'Accept-Encoding': 'gzip', 'Content-Type': 'application/json', 'X-Goog-API-Client': 'gl-python/3.8.10 grpc/1.39.0 gax/2.0.0 gapic/2.26.0 gccl/2.26.0', 'User-Agent': 'gl-python/3.8.10 grpc/1.39.0 gax/2.0.0 gapic/2.26.0 gccl/2.26.0'})), last exception: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))


I know it's vague and he hasn't provided the request id.
However, is there anything to fetch from this timeout error? 

300.0 is 300 milliseconds? Sounds like an gAds API timeout? or BQ timeout?

Thanks!



Google Ads API Forum Advisor

unread,
Sep 14, 2021, 11:08:35 PM9/14/21
to el...@google.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to the Google Ads API Support.

For us to check if said error is because of Google Ads API timeout or some other reasons, could you provide us with the complete request and response logs with the request-id, so our team can better check?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Python) > Logging documentation, which you can access from this link

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2NTsQF:ref
Reply all
Reply to author
Forward
0 new messages