Re: TokenResponseException with StatusCode=Internal

2023-02-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Guofu, Thank you for getting back to us. I hope that you are doing well today. Moving forward to your concern, based on this document: The user has revoked your app's access. The refresh token has not been used for six months. The user changed passwords and the refresh token contains Gmail sc

Re: TokenResponseException with StatusCode=Internal

2023-02-13 Thread msgu...@gmail.com
Hi team, we need a root cause analysis for this issue. I login the Google cloud platform console via 2-FA on 2022-02-12 19:21 UTC, and the *same *token started to work again. Please help us figure out the root cause. Thanks, Guofu On Monday, February 13, 2023 at 2:54:06 AM UTC-8 Google Ads API

RE: TokenResponseException with StatusCode=Internal

2023-02-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thanks for reaching out to the Google Ads API team. I hope you are doing well today. Upon checking your concern, I can see that you are encountering the invalid_grant error. Please note that the invalid_grant usually indicates an issue with the refresh token. That said, you’ll need to re

TokenResponseException with StatusCode=Internal

2023-02-12 Thread msgu...@gmail.com
quot;Property\":\"GetCustomers\",\"Message\":\"Grpc.Core.RpcException: Status(StatusCode=\\\"Internal\\\", Detail=\\\"Error starting gRPC call. TokenResponseException: Error:\\\"invalid_grant\\\", Description:\\\"Bad Request\\\", Uri:\\\

Re: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request "error" : "invalid_user"

2017-01-03 Thread ВІталій Мозок
HI Vishal! Sory for my pure engliish. I have same issue. want to upload sitelinks using googleads-php-lib I tried using the following example: https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201609/Extensions/AddSitel

Re: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request "error" : "invalid_user"

2016-12-27 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi, Looks like this error is related to your OAuth credentials and not your developer token. Could you provide me with the steps that you followed to create OAuth credentials? Regards, Vishal, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog a

com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request "error" : "invalid_user"

2016-12-27 Thread google_mingzhu
aigns.java:45) Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_user" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105) at com.google.api.client.auth.oauth

com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request "error" : "invalid_user"

2016-12-27 Thread google_mingzhu
aigns.java:45) Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_user" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105) at com.google.api.client.auth.oauth

com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request "error" : "invalid_user"

2016-12-27 Thread gamepiphk
aigns.java:45) Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_user" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105) at com.google.api.client.auth.oauth

Re: Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

2016-09-28 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Alfredo, When you generate the refresh token, you need to make sure that you paste the URL given while signed on to the account that you generated your OAuth credentials from. If that does not work, please try to create new OAuth credentials

Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized

2016-09-28 Thread Alfredo Rivera
I have a problem with the example of the API call, the following is what I get in eclipse: Exception in thread "main" com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized at com.google.api.client.auth.oauth2.TokenResponseException.from( TokenResponseExceptio

Re: TokenResponseException while connectiong to Google adwords API using service account

2014-12-15 Thread Danial Klimkin
o obtain Google Adwords API connection using >>> service account but we are getting the following errors. >>> >>> >>> >>> >>> >>> Caused by: *com.google.api.client.auth.oauth2.TokenResponseException*: >>> 400 Bad Request >>>

Re: TokenResponseException while connectiong to Google adwords API using service account

2014-12-15 Thread edduenasnordstrom
ors. >> >> >> >> >> >> Caused by: *com.google.api.client.auth.oauth2.TokenResponseException*: >> 400 Bad Request >> >> { >> >> "error" : "invalid_grant" >> >> } >> >>

Re: TokenResponseException while connectiong to Google adwords API using service account

2014-11-28 Thread Danial Klimkin
Google Adwords API connection using > service account but we are getting the following errors. > > > > > > Caused by: *com.google.api.client.auth.oauth2.TokenResponseException*: > 400 Bad Request > > { > > "error" : "invalid_gra

TokenResponseException while connectiong to Google adwords API using service account

2014-11-27 Thread edduenasnordstrom
We tried to create a code to obtain Google Adwords API connection using service account but we are getting the following errors. Caused by: *com.google.api.client.auth.oauth2.TokenResponseException*: 400 Bad Request { "error" : "invalid_grant

Re: TokenResponseException

2014-01-28 Thread Danial Klimkin
> com.google.api.ads.common.lib.client.AdsServiceClient.setHeaders(AdsServiceClient.java:111) > at > com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92) > ... 33 more > Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 403 > Forbidden > http://www.w3.org

Re: TokenResponseException

2014-01-24 Thread Magnus Ljung
Hi again, We have changed our implementation to retry the operation if we get this exception and that seems to work. /Magnus -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/g

TokenResponseException

2014-01-22 Thread Magnus Ljung
: com.google.api.client.auth.oauth2.TokenResponseException: 403 Forbidden http://www.w3.org/TR/html4/loose.dtd";>Google-konton https://ssl.gstatic.com/accounts/o/4240385162-common_lib.js"</a>;> @media screen and (max-width:500px) {#robot {background: none; min-height: 0; min-width: 0; padding: 0;}#stac

Re: oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , "error" : "invalid_grant"

2014-01-21 Thread Josh Radcliff (AdWords API Team)
api.ads.common.lib.exception.OAuthException: Credential could >>> not be refreshed. >>> at >>> com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:149) >>> at >>> DownloadCriteriaReportWithAwql.main(

Re: oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , "error" : "invalid_grant"

2014-01-16 Thread test-mcc
Exception in thread "main" >> com.google.api.ads.common.lib.exception.OAuthException: Credential could >> not be refreshed. >> at >> com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:149) >> at >&g

Re: oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , "error" : "invalid_grant"

2013-10-24 Thread Jim
als.generateCredential(OfflineCredentials.java:149) >> at >> DownloadCriteriaReportWithAwql.main(DownloadCriteriaReportWithAwql.java:42) >> Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 >> Bad Request >> { >> "error" : "inva

Re: oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , "error" : "invalid_grant"

2013-08-01 Thread Takeshi Hagikura (AdWords API Team)
AuthException: Credential could > not be refreshed. > at > com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:149) > at > DownloadCriteriaReportWithAwql.main(DownloadCriteriaReportWithAwql.java:42) > Caus

oAuth2.0 error: Credential could not be refreshed........ client.auth.oauth2.TokenResponseException: 400 Bad Request , "error" : "invalid_grant"

2013-07-31 Thread Echo Li
CriteriaReportWithAwql.java:42) Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_grant" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java: