Hi team,
During a request to CustomerService/ListAccessibleCustomers if the
credentials the end user inputs are invalid I see a response error of
"invalid_grant" with description "Bad Request". This is expected, however
the client never returns and continually reattempts the bad request. Since
the request does not return I can not return the proper error message and
the code hangs. I am wondering if there is a way to configure the
CustomerServiceClient to either disable this feature or change the number
retry attempts. I have not been able to find very much in the documentation
on this topic. Any help is appreciated. Below is a sample request/response
I am using the Java Google Ads v10 client library:
Request
-------
MethodName:
google.ads.googleads.v10.services.CustomerService/ListAccessibleCustomers
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, x-goog-api-client=gl-java/1.8.0_311
gccl/17.0.1 gapic/17.0.1 gax/2.6.1 grpc/1.41.0}
Body:
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: 400 Bad
Request
POST https://oauth2.googleapis.com/token
{
"error": "invalid_grant",
"error_description": "Bad Request"
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1b173d98-e72c-485f-bff2-ebc0effe5d2cn%40googlegroups.com.