Hi,
I'm consistently getting this error when downloading large dataset through 
search stream. This is through python library.
Here's the exception:
  File 
"/home/mm/venv/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", 
line 90, in __next__
    return next(self._wrapped)
  File 
"/home/mm/venv/lib/python3.7/site-packages/google/ads/googleads/interceptors/response_wrappers.py",
 
line 108, in __next__
    raise e
  File 
"/home/mm/venv/lib/python3.7/site-packages/google/ads/googleads/interceptors/response_wrappers.py",
 
line 105, in __next__
    self._failure_handler(self._underlay_call)
  File 
"/home/mm/venv/lib/python3.7/site-packages/google/ads/googleads/interceptors/exception_interceptor.py",
 
line 71, in _handle_grpc_failure
    raise self._get_error_from_response(response)
  File 
"/home/mm/venv/lib/python3.7/site-packages/google/ads/googleads/interceptors/response_wrappers.py",
 
line 88, in __next__
    message = next(self._underlay_call)
  File "/home/mm/venv/lib/python3.7/site-packages/grpc/_channel.py", line 
426, in __next__
    return self._next()
  File "/home/mm/venv/lib/python3.7/site-packages/grpc/_channel.py", line 
642, in _next
    return self._next_response()
  File "/home/mm/venv/lib/python3.7/site-packages/grpc/_channel.py", line 
617, in _next_response
    raise self
grpc._channel._SingleThreadedRendezvous: <_SingleThreadedRendezvous of RPC 
that terminated with:
    status = StatusCode.UNKNOWN
    details = "Stream removed"
    debug_error_string = 
"{"created":"@1657134945.213412560","description":"Error received from peer 
ipv4:142.250.31.95:443","file":"src/core/lib/surface/call.cc","file_line":952,"grpc_message":"Stream
 
removed","grpc_status":2}"
>
The above exception was the direct cause of the following exception:
for batch in stream:
  File 
"/home/mm/venv/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", 
line 93, in __next__
    raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.Unknown: None Stream removed

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a887bb90-6612-4de8-8ca5-258dcb8dafcen%40googlegroups.com.
  • Ge... 'pgao' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Aarthi Ilangovan
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to