and add Error log

MethodName: google.ads.googleads.v1.services.GoogleAdsService/Search
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6803928870, 
x-goog-api-client=gl-java/1.8.0_111 gapic/ gax/1.35.0 grpc/1.16.1}
Body: customer_id: "6803928870"
query: "SELECT customer_client.client_customer, customer_client.level FROM 
customer_client"
page_size: 7000


Response
--------
Headers: null
Body: null
Failure message: null
Status: Status{code=UNAVAILABLE, description=Credentials failed to obtain 
metadata, cause=com.google.api.client.http.HttpResponseException: 401 
Unauthorized
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1072)
at 
com.google.auth.oauth2.UserCredentials.refreshAccessToken(UserCredentials.java:227)
at 
com.google.auth.oauth2.OAuth2Credentials.refresh(OAuth2Credentials.java:179)
at 
com.google.auth.oauth2.OAuth2Credentials.getRequestMetadata(OAuth2Credentials.java:165)
at com.google.auth.Credentials.blockingGetToCallback(Credentials.java:103)
at com.google.auth.Credentials$1.run(Credentials.java:92)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
}.
io.grpc.StatusRuntimeException: UNAVAILABLE: Credentials failed to obtain 
metadata

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9e975abc-fd3f-483b-9967-18002d7c7bdc%40googlegroups.com.

Reply via email to