Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tGoogleDriveConnection usage

Hello,
I cannot found the documentation of the tGoogleDriveConnection componant.
It needs Two parameters : "Applacation Name" and "Acces token".
Thanks for your help.

JC
Labels (2)
13 Replies
taslimanka
Contributor
Contributor

Hi Sabrina,
My solution was:
1) I Follow totaly your link ( TalendHelpCenter:tGoogleDriveConnection ) and obtain the token. And I really do all steps described included the usage of Chrome REST Api to obtain the token. I putted the generated token which I pasted to  "Access token" of my tGoogleDriveConnection component.
_AnonymousUser
Specialist III
Specialist III

Hello, I followed all the steps, however getting below feedback from my POST. Any help appreciated?
POST
?
code=***code***
client_id=***client_id***&
client_secret=***client_secret***&
redirect_uri=urn:ietf:wg:oauth:2.0:oob&
grant_type=authorization_code

Response
{
  "error": "unsupported_grant_type",
  "error_description": "Invalid grant_type: "
}
_AnonymousUser
Specialist III
Specialist III

Hello, I followed all the steps, however getting below feedback from my POST. Any help appreciated?
POST
?
code=***code***
client_id=***client_id***&
client_secret=***client_secret***&
redirect_uri=urn:ietf:wg:oauth:2.0:oob&
grant_type=authorization_code

Response
{
  "error": "unsupported_grant_type",
  "error_description": "Invalid grant_type: "
}


Resolved 0683p000009MACn.png
vishnukumartj
Contributor
Contributor

Hi

My question is - how to pass the access token dynamically since the access token expires every 3600 secs?

Talend should make a call every time to generate the access token and then pass dynamically?

 

Please help for a solution?

Regards

Vishnu