Downloading files stored in Google Drive
Dear Community,
I have a use case wherein I need to download a file from Google Drive. I followed this guide and the authorization is working fine:
Connecting SaaS providers with SnapLogic's OAuth-enabled REST Snaps | SnapLogic
Then, I configure REST Get snap, add the Query parameter q = title contains ‘xyz’ and use https://www.googleapis.com/drive/v2/files/ in the service URL. The snap validates and returns the metadata of xyz file.
My question is, how to download the file? After reading this documentation, I added + $id + ‘?alt=media’ in the service URL but I got this error below:
Can you suggest any solution? If I could not download the file, can you suggest any workaround where I can see the data so that I can write it as a .csv/.xls? Also, I noticed that the snap took longer to validate when I added these in the service URL.
Thanks in advance.