Closed
Description
Check out this issue for an ideal bug report. The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
- You've met the prerequisites.
- You're running the latest version of Parse Server.
- You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
I'm using the Android SDK: Latest , Parse-Server: 2.2.7
Steps to reproduce
Here's a sample request/response for the whole thing:
ParseLogInterceptor: Type : Request
ParseLogInterceptor: Request-Id : 6
ParseLogInterceptor: Url : https://my-domain/parse/mstaging/classes/ArticleMeta/3eZq60siQZ
ParseLogInterceptor: Method : PUT
ParseLogInterceptor: Headers : {X-Parse-OS-Version=6.0.1, Content-Type=application/json, X-Parse-App-Build-Version=100, X-Parse-Client-Key=MyClientKey, X-Parse-Installation-Id=ffe99909-c4d0-4ec6-9a19-b7c5b8fe6a49, X-Parse-App-Display-Version=6.0.0, X-Parse-Client-Version=a1.13.0, Content-Length=65, User-Agent=Parse Android SDK 1.13.0 (my.app.package/100) API Level 23, X-Parse-Application-Id=MyAppId}
ParseLogInterceptor: Body : {
"likes": {
"__op": "Increment",
"amount": 1
},
"objectId": "3eZq60siQZ"
}
ParseLogInterceptor: --------------
ParseLogInterceptor: Type : Response
ParseLogInterceptor: Request-Id : 6
ParseLogInterceptor: Status-Code : 200
ParseLogInterceptor: Reason-Phrase : OK
ParseLogInterceptor: Headers : {Access-Control-Allow-Methods=GET,PUT,POST,DELETE,OPTIONS, X-Powered-By=Express, X-Android-Selected-Protocol=http/1.1, X-Android-Response-Source=NETWORK 200, Connection=keep-alive, Access-Control-Allow-Headers=X-Parse-Master-Key, X-Parse-REST-API-Key, X-Parse-Javascript-Key, X-Parse-Application-Id, X-Parse-Client-Version, X-Parse-Session-Token, X-Requested-With, X-Parse-Revocable-Session, Content-Type, X-Android-Sent-Millis=1461091166208, Content-Type=application/json; charset=utf-8, Date=Tue, 19 Apr 2016 18:39:29 GMT, Server=nginx/1.4.6 (Ubuntu), ETag=W/"32-F+Y8ws8n9tzFsQYVwP664w", Content-Length=50, X-Android-Received-Millis=1461091166341, Access-Control-Allow-Origin=*}
ParseLogInterceptor: Body : {
"likes": 1,
"updatedAt": "2016-04-19T18:39:29.080Z"
}
ParseLogInterceptor: --------------
ParseLogInterceptor: Type : Request
ParseLogInterceptor: Request-Id : 7
ParseLogInterceptor: Url : https://my-domain/parse/mstaging/classes/ArticleMeta/3eZq60siQZ
ParseLogInterceptor: Method : PUT
ParseLogInterceptor: Headers : {X-Parse-OS-Version=6.0.1, Content-Type=application/json, X-Parse-App-Build-Version=100, X-Parse-Client-Key=MyClientKey, X-Parse-Installation-Id=ffe99909-c4d0-4ec6-9a19-b7c5b8fe6a49, X-Parse-App-Display-Version=6.0.0, X-Parse-Client-Version=a1.13.0, Content-Length=66, User-Agent=Parse Android SDK 1.13.0 (my.app.package/100) API Level 23, X-Parse-Application-Id=MyAppId}
ParseLogInterceptor: Body : {
"likes": {
"__op": "Increment",
"amount": -1
},
"objectId": "3eZq60siQZ"
}
ParseLogInterceptor: --------------
ParseLogInterceptor: Type : Response
ParseLogInterceptor: Request-Id : 7
ParseLogInterceptor: Status-Code : 200
ParseLogInterceptor: Reason-Phrase : OK
ParseLogInterceptor: Headers : {Access-Control-Allow-Methods=GET,PUT,POST,DELETE,OPTIONS, X-Powered-By=Express, X-Android-Selected-Protocol=http/1.1, X-Android-Response-Source=NETWORK 200, Connection=keep-alive, Access-Control-Allow-Headers=X-Parse-Master-Key, X-Parse-REST-API-Key, X-Parse-Javascript-Key, X-Parse-Application-Id, X-Parse-Client-Version, X-Parse-Session-Token, X-Requested-With, X-Parse-Revocable-Session, Content-Type, X-Android-Sent-Millis=1461091173342, Content-Type=application/json; charset=utf-8, Date=Tue, 19 Apr 2016 18:39:36 GMT, Server=nginx/1.4.6 (Ubuntu), ETag=W/"51-zHnFvm87UbWZjW0BSGT86w", Content-Length=81, X-Android-Received-Millis=1461091173477, Access-Control-Allow-Origin=*}
ParseLogInterceptor: Body : {
"likes": {
"__op": "Increment",
"amount": -1
},
"updatedAt": "2016-04-19T18:39:36.220Z"
}
ParseLogInterceptor: --------------