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