A couple of days ago, my iOS application stopped updating Google Drive documents (creation still works). Here is the code I have been using successfully to create GTLQueryDrive
queries for over a year:
query = [GTLQueryDrive queryForFilesUpdateWithObject:file fileId:file.identifier uploadParameters:uploadParameters];
Although executing this query returns no errors, documents are never updated. I tried changing this (since the above method doesn't seem to appear in the documentation) to:
query = [GTLQueryDrive queryForFilesPatchWithObject:file fileId:file.identifier];
query.uploadParameters = uploadParameters;
However that returns this error:
Error Domain=com.google.GTLJSONRPCErrorDomain Code=400 "The operation couldn’t be completed. (Unsupported content with type: application/json-rpc)"
Similar breakage has occurred before with this method of query creation - can anyone point me to a more reliable way to update documents?