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:* *Encrypted Request Parameter giving error while calling Google Api to generate Access token <https://stackoverflow.com/questions/75393505/post-request-to-google-analytics-api-with-encrypted-parameters-throws-invalid-gr?noredirect=1#comment133048026_75393505>* 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 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b527be28-df63-4780-bda6-9d016ab969c9n%40googlegroups.com.