I'm trying to upload a spreadsheet to google drive that is a csv file.
Here is my post url https://www.googleapis.com/upload/drive/v2/files?uploadType=multipart&alt=json&convert=true
mimetype is set to mime: application/vnd.google-apps.spreadsheet
The file uploads but I get an error "We're sorry. The spreadsheet at this URL could not be found. Make sure that you have the right URL and that the owner of the spreadsheet hasn't deleted it. "
I also tried mimetype = "text/plain" , it gets converted to a document, not a spreadsheet.