Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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
Anonymous
Not applicable
Author

Application name can be freely set - do not think to long abut it.
The AccessToken will be created when you run the job first time. In this case you will get an URL in the console output and this url opened in a browser provides an access token. Copy and past it with " enclosed in you job and run it again. Now it should work.
Anonymous
Not applicable
Author

Hello jlolling,
I did as you told me.
But I didn't get an URL in the console but this error message :
connecting to socket on port 3724
connected
An error occurred: com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized
{
  "code" : 401,
  "errors" : ,
  "message" : "Invalid Credentials"
}
disconnected
José
mgchong
Contributor III
Contributor III

Hi Guys,
Apparently, I encountered the same error. In my case, I put the Access Token as Client ID via the Service Account created via Google OAuth.
Anyone has the solution on that? Thanks.
Regards,
MG
taslimanka
Contributor
Contributor

I have the same problem.
taslimanka
Contributor
Contributor

Can see above my screenshots
taslimanka
Contributor
Contributor

better with the images
Anonymous
Not applicable
Author

Hi guys,
Have you already checked component reference about:TalendHelpCenter:tGoogleDriveConnection?
Best regards
Sabrina
taslimanka
Contributor
Contributor

Hi all,
I'm apologizing I haven't read all the documentation. In fact I  thought that the authorization code was the token. That's why it doesn't work for me. But I also get the problem raised by jcoutin. I resolved it by using  the chrome rest api extension instead of typing the url directly  in the browser.
Thanks.
Anonymous
Not applicable
Author

Hi taslimanka,
I resolved it by using  the chrome rest api extension instead of typing the url directly  in the browser.

Could you please show us your solution? Screenshot will be preferred.
Best regards
Sabrina