cancel
Showing results for 
Search instead for 
Did you mean: 

Read/download files from Google Drive

skodali
New Contributor III

I’m trying to read/download a CSV file from google drive. I’m able to get the web content link but unable to download the file using it. Can anyone suggest how to download a file using the REST Get?

1 ACCEPTED SOLUTION

cstewart
Former Employee

It looks like it is returning CSV data, you need to change the “Response Entity Type” to TEXT or BINARY.
It is trying to interpret the result as JSON or XML…

View solution in original post

8 REPLIES 8

Are you following the instructions here?

skodali
New Contributor III

I have followed the instructions to download a file. I’m able to see the content in the file but in error view. Attached Screenshot of the Content and the error message.
REST
Error
Data

cstewart
Former Employee

It looks like it is returning CSV data, you need to change the “Response Entity Type” to TEXT or BINARY.
It is trying to interpret the result as JSON or XML…

skodali
New Contributor III

Thanks Craig. It works. Results