I getting AUTHENTICATION_ERROR - Authentication of the request failed.

138 views
Skip to first unread message

Süleyman Ali Akpınar

unread,
Jun 25, 2021, 7:10:59 AM6/25/21
to AdWords API and Google Ads API Forum
I want to use reporting HTTP endpoints for that I send a request with postman But every time I getting AUTHENTICATION_ERROR. 

My oAuth2 response : 

{"token":{"access_token":"ya29.a0AfH6SMCyU5L******","refresh_token":"1//09Iryk6eZYKj0CgYIA********","scope":"https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/adwords","token_type":"Bearer","expiry_date":1624622265323}}

I used this access_token for request header.

And my postman request screen show at the attached file:
Ekran Resmi 2021-06-25 14.03.00.png

Where did I make mistake? How can I solve this issue?

Google Ads API Forum Advisor

unread,
Jun 28, 2021, 12:15:00 PM6/28/21
to sule...@linkadoo.me, adwor...@googlegroups.com
Hi Suleyman,

Thank you for reaching out to us with your concern, In looking over the post as well as the attached links. In look at them it would seem that there was an issue with the OAUth token expiring as you look at this, it mentioned such things. We would start by suggesting first renewing the refresh token as this usually causes the authorization. errors. As this also seems to in your case caused the OAuth token to have expired.

Regards,
Google Logo
William Pescherine
Google Ads API Team
 


ref:_00D1U1174p._5004Q2IyfRJ:ref

ql z

unread,
Jul 7, 2021, 4:02:55 AM7/7/21
to AdWords API and Google Ads API Forum
  • Hi, are you successful in your request now

Google Ads API Forum Advisor

unread,
Jul 7, 2021, 11:00:39 PM7/7/21
to zqlj...@gmail.com, adwor...@googlegroups.com
Hi,

Could you confirm if you have the same issue with what was initially posted on this forum post? If yes, then I would suggest checking your API configuration by referring to this guide especially the authentication part as the issue is occurring when there is an issue related to this.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


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