Hi Team, When I tried to fetch all customer's detail infomation, I encountered "Internal 500 Error" Detail log as below
[2019-07-23 15:26:46 - INFO] Request ------- Method: /google.ads.googleads.v2.services.GoogleAdsService/Search Host: googleads.googleapis.com:443 Headers: { "developer-token": "REDACTED", "login-customer-id": "6369440097", "x-goog-api-client": "gl-python/3.6.8 grpc/1.22.0 gax/1.14.0 gapic/3.1.1", "x-goog-request-params": "customer_id=6134695458" } Request: customer_id: "6134695458" query: "\n SELECT \n account_budget.resource_name,\n account_budget.id,\n account_budget.status,\n account_budget.name,\n account_budget.total_adjustments_micros,\n account_budget.amount_served_micros,\n account_budget.purchase_order_number,\n account_budget.notes,\n account_budget.proposed_spending_limit_micros,\n account_budget.proposed_spending_limit_type,\n account_budget.approved_spending_limit_micros,\n account_budget.approved_spending_limit_type,\n account_budget.adjusted_spending_limit_micros,\n account_budget.adjusted_spending_limit_type\n FROM account_budget\n WHERE account_budget.status = \"APPROVED\"\n " page_size: 1 Response ------- Headers: { "request-id": "e1o_mnrozwZF9i8CTwdhKQ" } Fault: { "created": "@1563895606.538119747", "description": "Error received from peer ipv4:172.217.11.170:443", "file": "src/core/lib/surface/call.cc", "file_line": 1052, "grpc_message": "Internal error encountered.", "grpc_status": 13 } [2019-07-23 15:26:46 - WARNING] Request made: ClientCustomerId: 6134695458, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v2.services.GoogleAdsService/Search, RequestId: e1o_mnrozwZF9i8CTwdhKQ, IsFault: True, FaultMessage: Internal error encountered. Filename:/opt/webeye/bazaar/mkt-reportwriter/production-gcp-usa.toml Filename:/opt/webeye/bazaar/mkt-reportwriter/production-gcp-usa.toml Traceback (most recent call last): File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable return callable_(*args, **kwargs) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 222, in __call__ compression=compression) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 257, in _with_call return call.result(), call File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_channel.py", line 295, in result raise self File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 248, in continuation compression=new_compression) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 272, in with_call compression=compression) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 257, in _with_call return call.result(), call File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_channel.py", line 295, in result raise self File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 248, in continuation compression=new_compression) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 272, in with_call compression=compression) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 256, in _with_call continuation, client_call_details, request) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py", line 139, in intercept_unary_unary self._handle_grpc_failure(response) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py", line 118, in _handle_grpc_failure raise exception File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_interceptor.py", line 248, in continuation compression=new_compression) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_channel.py", line 576, in with_call return _end_unary_response_blocking(state, call, True, None) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/grpc/_channel.py", line 467, in _end_unary_response_blocking raise _Rendezvous(state, None, None, deadline) grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with: status = StatusCode.INTERNAL details = "Internal error encountered." debug_error_string = "{"created":"@1563895606.538119747","description":"Error received from peer ipv4:172.217.11.170:443","file":"src/core/lib/surface/call.cc","file_line":1052,"grpc_message":"Internal error encountered.","grpc_status":13}" > The above exception was the direct cause of the following exception: Traceback (most recent call last): File "googleads_customer_client_sync.py", line 224, in <module> run(ga_client=ga_client) File "googleads_customer_client_sync.py", line 189, in run detail = get_account_detail(ga_client=ga_client, resource_name=resource_name) File "googleads_customer_client_sync.py", line 178, in get_account_detail raise e File "googleads_customer_client_sync.py", line 167, in get_account_detail total_budget, total_spend = get_account_budget(ga_client=ga_client, customer_id=customer.id.value) File "googleads_customer_client_sync.py", line 75, in get_account_budget for result in results : File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/page_iterator.py", line 204, in _items_iter for page in self._page_iter(increment=False): File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/page_iterator.py", line 235, in _page_iter page = self._next_page() File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/page_iterator.py", line 526, in _next_page response = self._method(self._request) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 143, in __call__ return wrapped_func(*args, **kwargs) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/retry.py", line 273, in retry_wrapped_func on_error=on_error, File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/retry.py", line 182, in retry_target return target() File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/timeout.py", line 214, in func_with_timeout return func(*args, **kwargs) File "/opt/webeye/bazaar/mkt-reportwriter/.venv/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable six.raise_from(exceptions.from_grpc_error(exc), exc) File "<string>", line 3, in raise_from google.api_core.exceptions.InternalServerError: 500 Internal error encountered. Thanks! Hope it can be more stable in the future -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/eab62974-9494-4c1c-a464-53f8493935c6%40googlegroups.com.