After updating latest Google Drive SDK for iOS from developers.google.com, I encountered this issue when updating a file from my device to my Drive in my app. I always got error exception with the message as title.
I think it causes by changes of Google REST API in the backend, but I do not figure out how to deal with this. This code below is almost same as sample code from Google named iOS-QuickEditor and Sample tutorial.........
NSData *fileContent =
[NSData dataWithContentsOfFile:localFilePath];
GTLUploadParameters *uploadParameters =
[GTLUploadParameters uploadParametersWithData:fileContent MIMEType:@"text/plain"];
GTLQueryDrive *query =
[GTLQueryDrive queryForFilesUpdateWithObject:self.driveFile fileId:self.driveFile.identifier uploadParameters:uploadParameters];
[self.driveService executeQuery:query completionHandler:^(GTLServiceTicket *ticket,
GTLDriveFile *updatedFile,
NSError *error) {
// Do something after updating....
}];