BhaveshPoriya / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

Unable to "modify" messages/threads using Gmail API #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
This SO entry, though not posted by me, describes exactly the problem I'm 
experiencing:
https://stackoverflow.com/questions/24482278/how-to-set-a-message-to-be-unread-r
ead-using-gmail-api-using-objective-c-sdk

What is the expected output? What do you see instead?
The expected output is a Users.messages/Users.threads resource, as described by 
the API reference. What I see instead is:
Error Domain=com.google.GTLJSONRPCErrorDomain Code=400 "The operation 
couldn’t be completed. (Unknown field name: id)" UserInfo=0xdd37e70 
{error=Unknown field name: id, GTLStructuredError=GTLErrorObject 0xdd37cd0: 
{message:"Unknown field name: id" code:400 data:[1]}, 
NSLocalizedFailureReason=(Unknown field name: id)}

What version of the product are you using? On what operating system?
The latest Google APIs Client Library for Objective-C on iOS.

Please provide any additional information below.

Original issue reported on code.google.com by thegophe...@gmail.com on 19 Jul 2014 at 5:41

GoogleCodeExporter commented 9 years ago
This appears to be an issue with the API server rather than the client library. 
It's currently under investigation by the server engineers. The internal Google 
reference for the issue is b/16567719

Incidentally, issues using the client library are best reported using http logs 
showing the relevant requests and responses. Information on using the library's 
logging feature is at 
https://code.google.com/p/google-api-objectivec-client/wiki/Introduction#Logging
_HTTP_Server_Traffic

Original comment by grobb...@google.com on 26 Jul 2014 at 2:13

GoogleCodeExporter commented 9 years ago
The server folks say things should be working now.

Original comment by thomasvl@google.com on 15 Aug 2014 at 2:31