"error": "invalid_grant", "error_description": "Bad Request"

2024-03-04 Thread Isabel Gonzalez
.TokenResponseException: 400 Bad Request POST https://oauth2.googleapis.com/token { "error": "invalid_grant", "error_description": "Bad Request" } at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:10

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2024-02-22 Thread dimas ilham
Hi, i got same error, this might be cause my refresh token got expired, but when i want to reapply it, i got error like this: [image: Screenshot 2024-02-22 165248.png] is there any ways to solve it? Pada Rabu, 20 Desember 2023 pukul 05.58.59 UTC+7 Google Ads API Forum Advisor menulis: > Hi, >

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2023-12-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for getting back to us. After reviewing your concern, I understand that you are encountering the invalid_grant error while creating a campaign via the Google Ads API. The common cause for this error is that, a Google Cloud Platform project with an OAuth consent screen configured

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2023-12-19 Thread 'ReVo' via Google Ads API and AdWords API Forum
Hi there, What if the error {"error": "invalid_grant", "error_description": "Bad Request"} appears when trying to exchange code for access and refresh tokens? I've already tried a bunch of possible solutions including generating a new client secret, but

{'error': 'invalid_grant', 'error_description': 'Bad Request'} about OAuth

2022-08-23 Thread Dora Miss
Hi team! I’m using developer_token to confirm the iap from Google Console in my game, recently I got an error {'error': 'invalid_grant', 'error_description': 'Bad Request'} Please tell me the reason for the error and the solution, to continue the correct operation. Have a nice day! My email

Re: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread Александр Чернуха
Yes, I created app in another app and had authenticated with success. Problem is only with single app среда, 29 июня 2022 г. в 20:41:08 UTC+3, adsapi: > Hi, > > Thanks for reaching out to the Google Ads API support and for providing > all details. > > I understand that you’ve encountered the

RE: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thanks for reaching out to the Google Ads API support and for providing all details. I understand that you’ve encountered the error, 'invalid_grant'. Can you please try regenerating your OAuth2 credentials along with the refresh token and see if this behavior persists? Could you verify

POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread Александр Чернуха
Our application worked fine, but today all request returned an auth error: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } We changed password, generated n

"error": "invalid_grant", "error_description": "Bad Request"

2022-06-29 Thread Saeed Rehman
lient_secret' => $this->getClientSecret(), 'redirect_uri' => $this->getRedirectUrl(), 'grant_type' => 'authorization_code', ); response is: 'body' => '{ "error": "invalid_grant", "error_description": "Bad Request" }' -- -- =~=~=~=~=~

RE: Issue - "error": "invalid_grant", "error_description": "Bad Request"

2021-06-21 Thread Google Ads API Forum Advisor
Hi, This error occurs because of a mismatch of credentials and tokens. I would recommend clearing the cache and using the newly generated refresh and access token pair. https://developers.google.com/google-ads/api/docs/oauth/client-library Thanks, Lakshmi Prathipati Google Ads API Team

Issue - "error": "invalid_grant", "error_description": "Bad Request"

2021-06-18 Thread NICOLE HAN
Hello, I ended up with the error below when I tested GetCampaigns.php from the PHP client library. It worked fine with my test account, but went wrong with the production account. [image: 111.png] Any help is appreciated. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-02-01 Thread Google Ads API Forum Advisor Prod
Hi Du, Please let us know how it goes. Feel free to contact us if you have any further questions. Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2BbycF:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog:

Re: Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-01-31 Thread dudoa...@gmail.com
Thank you for your response. I will check it again My appreciation. Du Doan On Saturday, January 30, 2021 at 3:30:15 AM UTC+7 adsapiforumadvisor wrote: > Hi Du, > > It looks like the client ID and secret that are in place were not used to > generate the refresh token in the first instance.

RE: Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-01-29 Thread Google Ads API Forum Advisor Prod
Hi Du, It looks like the client ID and secret that are in place were not used to generate the refresh token in the first instance. Please double check if you are using the right client credentials in your application. Thanks, Lakshmi Prathipati Google Ads API Team

Credential could not be refreshed, "error" : "invalid_grant", "error_description" : "Bad Request"

2021-01-28 Thread dudoa...@gmail.com
rdsService.(GetReportAdwordsService.java:48) ... 1 more Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request { "error" : "invalid_grant", "error_description" : "Bad Request" } at com.google.api.client.auth.oauth2.TokenResp

RE: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2020-03-24 Thread Google Ads API Forum Advisor Prod
Hi Diana, Can you please provide your complete detailed request and response logs of your API call via Reply privately to author so that I can further investigate the issue? You can find information on enabling logging in the ReadMe of your client library. Regards, Mitchell Google Ads API

Re: {'error': 'invalid_grant', 'error_description': 'Bad Request'}

2020-03-24 Thread Diana Dziubak
> > Hi! Thanks for your answer. But I still have a problem with this. My email address - petrovna.netp...@gmail.com My client customer ID - 864-831-5368 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/

{'error': 'invalid_grant', 'error_description': 'Bad Request'}

2020-03-23 Thread Diana Dziubak
Hi Adwords team! I’m using developer_token to collect data from Google ads in my internal database, recently I got an error {'error': 'invalid_grant', 'error_description': 'Bad Request'} Please tell me the reason for the error and the solution, to continue the correct operation

RE: Adwords API OAuth2 : "error": "invalid_grant", "error_description": "Bad Request"

2019-01-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, The "invalid_grant" error usually indicates that the access or refresh token being passed in your request is incorrect or invalid. Your curl request seems fine. If your curl request working, then the credentials are good and you can use the same credentials in the API call. In case, you

Adwords API OAuth2 : "error": "invalid_grant", "error_description": "Bad Request"

2019-01-29 Thread service . info . mcc
Hello, With the update of the Adwords API, I wanted to test my code with an "old" test account with an Adwords test campaign. But I ended up with the error: { "error": "invalid_grant", "error_description": "Bad Request" } So

Re: API Worked for months now get this error { "error": "invalid_grant", "error_description": "Bad Request" } Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_

2018-01-02 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi Shenderson, Thanks for your suggestion, I'll try and create a feature request regarding this, but we can't guarantee when and whether the feature will be implemented soon. For now, you may keep an eye on our blog

Re: API Worked for months now get this error { "error": "invalid_grant", "error_description": "Bad Request" } Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_

2018-01-02 Thread shenderson
Hello Luis, yes I figured out the same thing yesterday. It would sure be nice if the API would be a bit more precise in it's error messaging. A message stating "Your refreshToken has expired, please regenerate a new refreshToken and update your script" That would have saved me hours

Re: API Worked for months now get this error { "error": "invalid_grant", "error_description": "Bad Request" } Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_

2018-01-01 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi Shenderson, The invalid_grant error normally occurs due to expired refreshToken. To resolve this issue, you may try to regenerate the refreshToken and the OAuth2 credentials

API Worked for months now get this error { "error": "invalid_grant", "error_description": "Bad Request" } Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_gran

2018-01-01 Thread shenderson
PLUS, I have the SAME script running for 5 other of my adwords accounts. 2 give this error, the others run fine. What the heck happened? Anywhere I should start? Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+:

Re: An error has occurred: { "error": "invalid_grant", "error_description": "Bad Request", "error_uri": "" }

2016-10-26 Thread akshat agrawal
On Monday, October 24, 2016 at 10:22:24 AM UTC+5:30, akshat agrawal wrote: > > Hi Joyce, > Thanks it worked. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/

Re: An error has occurred: { "error": "invalid_grant", "error_description": "Bad Request", "error_uri": "" }

2016-10-23 Thread 'Joyce Lava' via AdWords API Forum
Hi Akshat, This error normally happens if you missed something in the configuration of OAuth2 credentials or refresh token. Could you please confirm if you followed this guide carefully and which app type have you

An error has occurred: { "error": "invalid_grant", "error_description": "Bad Request", "error_uri": "" }

2016-10-23 Thread akshat agrawal
Hi, Can anyone explain what this error is all about. thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts