Encrypted Request Parameter giving error while calling Google API to generate Access token From Refresh Token

51 views
Skip to first unread message

sachin gupta

unread,
Feb 10, 2023, 3:39:59 PM2/10/23
to Google Ads API and AdWords API Forum
Hello Team,

I am trying to generate the Access Token using Refresh token from Google Analytics API. The request which I am trying to send is encrypted using Python libraries. When I run the below code, I am getting below error:

{'error': 'unsupported_grant_type', 'error_description':'Invalid grant_type: '}

Source Code:


When I run this code without encryption it works fine and I am able to retrieve the Access token from Refresh token.

I request to please take a look into it and help me to make it working.

Thanks,
Sachin

Google Ads API Forum Advisor

unread,
Feb 13, 2023, 3:11:05 AM2/13/23
to sachin....@gmail.com, adwor...@googlegroups.com
Hi Sachin,

Thank you for reaching out to us.

Kindly note that this channel and our team provide support for Google Ads API related concerns only. However, since your concern is done through the Google Analytics API, then I would suggest you reach out instead to their support team via this link, as they are better equipped to provide guidance on this matter.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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