Automic Endpoint Service rpc GET raise InternalServerError

173 views
Skip to first unread message

Sivart S

unread,
Aug 26, 2020, 3:04:54 AM8/26/20
to AdWords API and Google Ads API Forum
Hi, I found this issue today while using google-ads-python SDK:

Try to invoke get operation on automic endpoints:
1. CustomerService.get_customer
2. ConversionActionService.get_conversion_action
3. UserListService.get_user_list

All of them raise an internal server error, e.g.

```
WARNING Request made: ClientCustomerId: None, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v3.services.UserListService/GetUserList, RequestId: None, IsFault: True, FaultMessage: Internal error encountered.
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 221, in __call__
    compression=compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 257, in _with_call
    return call.result(), call
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 333, in result
    raise self
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 247, in continuation
    compression=new_compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 271, in with_call
    compression=compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 257, in _with_call
    return call.result(), call
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 333, in result
    raise self
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 247, in continuation
    compression=new_compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 271, in with_call
    compression=compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 256, in _with_call
    request)
  File "/usr/local/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py", line 168, in intercept_unary_unary
    self._handle_grpc_failure(response)
  File "/usr/local/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py", line 140, in _handle_grpc_failure
    raise self._get_error_from_response(response)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 247, in continuation
    compression=new_compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 837, in with_call
    return _end_unary_response_blocking(state, call, True, None)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = "Internal error encountered."
debug_error_string = "{"created":"@1598424644.646624727","description":"Error received from peer ipv4:74.125.203.95:443","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Internal error encountered.","grpc_status":13}"
```

I've check:
1. The OAuth2 authentication
2. Query with GoogleAdsService works fine
3. For automic endpoints, some other operations such as LIST works fine.

Thanks.

Jamie Druce

unread,
Aug 26, 2020, 3:46:01 AM8/26/20
to AdWords API and Google Ads API Forum
We too are experiencing this error this morning. from an app that was running perfectly yesterday.

We are calling CustomerService.get_customer (via REST) and getting:

            [code] => 500
            [message] => Internal error encountered.
            [status] => INTERNAL

hishid...@gmail.com

unread,
Aug 26, 2020, 3:55:30 AM8/26/20
to AdWords API and Google Ads API Forum

We are experiencing the same error in CustomerService calls, too.


request body: (empty)
response body: { "message": "Internal error encountered.", "code": 13, "status": "INTERNAL", "details": [] }

We noticed this error about 1 hour ago.

Is GoogleAds API in trouble?
2020年8月26日水曜日 16:04:54 UTC+9 travis...@gmail.com:

JP Boily

unread,
Aug 26, 2020, 6:10:49 AM8/26/20
to AdWords API and Google Ads API Forum
Same here, for the last 10 hours or so I would say.

Everything else (that we use) seems to be working perfectly.

I tried upgrading the Ruby gem, didn't change anything. I looked at the sunset dates, thinking maybe something stopped working and it could have been planned, but nope, doesn't seem like it (using v2 of the API still here).

What are you all using in terms of API version and language/library? Just to see if it is across the board (it looks like it).

Jamie Druce

unread,
Aug 26, 2020, 6:22:57 AM8/26/20
to AdWords API and Google Ads API Forum
We are using v4, via REST calls from PHP.

Still out for us at the moment. We are making reporting calls to /v4/customers/{{customer_id}}/googleAds:search absolutely fine, but the account call to /v4/customers/{{customer_id}} is throwing this error 100% of the time.

Kostas Kougios

unread,
Aug 26, 2020, 6:27:36 AM8/26/20
to AdWords API and Google Ads API Forum
Same issue here using the java beta api v8.0.0

Jamie Druce

unread,
Aug 27, 2020, 3:11:36 AM8/27/20
to AdWords API and Google Ads API Forum
Seems to be working for us this morning!

Fixed for anyone else?

hishid...@gmail.com

unread,
Aug 27, 2020, 3:24:24 AM8/27/20
to AdWords API and Google Ads API Forum
seems to be fixed for us! working fine now.
thank you!

2020年8月26日水曜日 16:04:54 UTC+9 travis...@gmail.com:
Hi, I found this issue today while using google-ads-python SDK:

Sivart S

unread,
Aug 27, 2020, 3:51:41 AM8/27/20
to AdWords API and Google Ads API Forum
The issue seems to be fixed to me. Thanks.

Sivart S 在 2020年8月26日 星期三下午3:04:54 [UTC+8] 的信中寫道:

Google Ads API Forum Advisor Prod

unread,
Aug 27, 2020, 4:36:11 PM8/27/20
to travis...@gmail.com, adwor...@googlegroups.com
Hi everyone,

We had a brief outage of the REST endpoints yesterday that caused the issues mentioned here. This issue was found and fixed quickly. Apologies for any inconvenience that this might have cause everyone.

Cheers
Anash P. Oommen,
Google Ads API Team.

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