{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/101","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/101/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/101/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/101","id":130127865,"number":101,"title":"Internal server error","user":{"login":"doender","id":4175777,"avatar_url":"https://avatars.githubusercontent.com/u/4175777?v=3","gravatar_id":"","url":"https://api.github.com/users/doender","html_url":"https://github.com/doender","followers_url":"https://api.github.com/users/doender/followers","following_url":"https://api.github.com/users/doender/following{/other_user}","gists_url":"https://api.github.com/users/doender/gists{/gist_id}","starred_url":"https://api.github.com/users/doender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doender/subscriptions","organizations_url":"https://api.github.com/users/doender/orgs","repos_url":"https://api.github.com/users/doender/repos","events_url":"https://api.github.com/users/doender/events{/privacy}","received_events_url":"https://api.github.com/users/doender/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-31T13:33:23Z","updated_at":"2016-02-24T00:16:52Z","closed_at":"2016-02-24T00:16:52Z","body":"I migrated my Parse data over to a local instance. Most queries seem to work, but this one does not:\r\n\r\n```\r\ncurl \r\n-H \"X-Parse-Application-Id: myAppId\"   \r\n-H \"Content-Type: application/json\"   \r\nhttp://localhost:1337/parse/classes/Test \r\n--data-urlencode 'where={\"name\":{\"$exists\":true}}'\r\n```\r\n\r\nI get: \r\n```\r\n{\"code\":1,\"message\":\"Internal server error.\"}\r\n```\r\n\r\nThe server log shows:\r\n```\r\nUncaught internal server error. { [Error: invalid json]\r\n  body: 'where=%7B%22name%22%3A%7B%22%24exists%22%3Atrue%7D%7D',\r\n  status: 400 } Error: invalid json\r\n    at parse (/vagrant/parse-server-example/node_modules/body-parser/lib/types/json.js:79:15)\r\n    at /vagrant/parse-server-example/node_modules/body-parser/lib/read.js:102:18\r\n    at done (/vagrant/parse-server-example/node_modules/raw-body/index.js:248:14)\r\n    at IncomingMessage.onEnd (/vagrant/parse-server-example/node_modules/raw-body/index.js:294:7)\r\n    at IncomingMessage.g (events.js:273:16)\r\n    at emitNone (events.js:80:13)\r\n    at IncomingMessage.emit (events.js:179:7)\r\n    at endReadableNT (_stream_readable.js:906:12)\r\n    at nextTickCallbackWith2Args (node.js:474:9)\r\n    at process._tickCallback (node.js:388:17)\r\n```"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/187981325","html_url":"https://github.com/ParsePlatform/parse-server/issues/101#issuecomment-187981325","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/101","id":187981325,"user":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T00:16:52Z","updated_at":"2016-02-24T00:16:52Z","body":"Fixed with #543."}}