{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/407","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/407/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/407/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/407","id":133534356,"number":407,"title":"'unauthorized' error using 2.0.8","user":{"login":"RadianSmile","id":3115785,"avatar_url":"https://avatars.githubusercontent.com/u/3115785?v=3","gravatar_id":"","url":"https://api.github.com/users/RadianSmile","html_url":"https://github.com/RadianSmile","followers_url":"https://api.github.com/users/RadianSmile/followers","following_url":"https://api.github.com/users/RadianSmile/following{/other_user}","gists_url":"https://api.github.com/users/RadianSmile/gists{/gist_id}","starred_url":"https://api.github.com/users/RadianSmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadianSmile/subscriptions","organizations_url":"https://api.github.com/users/RadianSmile/orgs","repos_url":"https://api.github.com/users/RadianSmile/repos","events_url":"https://api.github.com/users/RadianSmile/events{/privacy}","received_events_url":"https://api.github.com/users/RadianSmile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/troubleshooting","name":"troubleshooting","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-02-14T12:21:31Z","updated_at":"2016-02-23T15:54:40Z","closed_at":null,"body":"I run `Parse server @2.0.8 `\r\n\r\nthen happened a strange thing : \r\n\r\nI ran the sample code in node : \r\n```javascript\r\n...\r\nParse = require ('parse/node');\r\nvar obj = new Parse.Object('GameScore');\r\nobj.set('score',1337);\r\nobj.save().then(function(obj) {\r\n  console.log(obj.toJSON());\r\n  var query = new Parse.Query('GameScore');\r\n  query.get(obj.id).then(function(objAgain) {\r\n    console.log(objAgain.toJSON());\r\n  }, function(err) {console.log(err); });\r\n}, function(err) { console.log(err); });\r\n...\r\n```\r\nthen my server log showed : \r\n```\r\n2016-02-14T11:54:01.166014+00:00 app[web.1]: { score: 1337,\r\n2016-02-14T11:54:01.166021+00:00 app[web.1]:   createdAt: '2016-02-14T11:54:00.537Z',\r\n2016-02-14T11:54:01.166022+00:00 app[web.1]:   updatedAt: '2016-02-14T11:54:00.537Z',\r\n2016-02-14T11:54:01.166023+00:00 app[web.1]:   objectId: 'rzuNqFVFY0' }\r\n2016-02-14T11:54:01.201652+00:00 app[web.1]: ParseError { code: undefined, message: 'unauthorized' }\r\n```\r\nthat means it could create object , but not able to query.\r\n\r\nthat's so wired. So I test it with \r\n`parse-server@2.0.0`\r\n\r\nthen this code runs smoothly : \r\n```\r\n2016-02-14T12:14:01.634098+00:00 app[web.1]: { score: 1337,\r\n2016-02-14T12:14:01.634103+00:00 app[web.1]:   createdAt: '2016-02-14T12:14:00.587Z',\r\n2016-02-14T12:14:01.634104+00:00 app[web.1]:   updatedAt: '2016-02-14T12:14:00.587Z',\r\n2016-02-14T12:14:01.634106+00:00 app[web.1]:   objectId: '2MbFbROSAP' }\r\n2016-02-14T12:14:01.685361+00:00 app[web.1]: { score: 1337,\r\n2016-02-14T12:14:01.685366+00:00 app[web.1]:   updatedAt: '2016-02-14T12:14:00.587Z',\r\n2016-02-14T12:14:01.685367+00:00 app[web.1]:   createdAt: '2016-02-14T12:14:00.587Z',\r\n2016-02-14T12:14:01.685367+00:00 app[web.1]:   objectId: '2MbFbROSAP' }\r\n```\r\n\r\nPlease check! Thanks."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/187761408","html_url":"https://github.com/ParsePlatform/parse-server/issues/407#issuecomment-187761408","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/407","id":187761408,"user":{"login":"mahabubakram","id":3303449,"avatar_url":"https://avatars.githubusercontent.com/u/3303449?v=3","gravatar_id":"","url":"https://api.github.com/users/mahabubakram","html_url":"https://github.com/mahabubakram","followers_url":"https://api.github.com/users/mahabubakram/followers","following_url":"https://api.github.com/users/mahabubakram/following{/other_user}","gists_url":"https://api.github.com/users/mahabubakram/gists{/gist_id}","starred_url":"https://api.github.com/users/mahabubakram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahabubakram/subscriptions","organizations_url":"https://api.github.com/users/mahabubakram/orgs","repos_url":"https://api.github.com/users/mahabubakram/repos","events_url":"https://api.github.com/users/mahabubakram/events{/privacy}","received_events_url":"https://api.github.com/users/mahabubakram/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T15:54:40Z","updated_at":"2016-02-23T15:54:40Z","body":"But I used to do change the same object in the afterSave in my previous parse cloud. But right now the parse server is running in heroku and its creating this problem."}}