{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1413","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1413/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1413/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1413/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/1413","id":146729709,"number":1413,"title":"cannot route batch path /classes/_Installation","user":{"login":"batkov","id":582671,"avatar_url":"https://avatars.githubusercontent.com/u/582671?v=3","gravatar_id":"","url":"https://api.github.com/users/batkov","html_url":"https://github.com/batkov","followers_url":"https://api.github.com/users/batkov/followers","following_url":"https://api.github.com/users/batkov/following{/other_user}","gists_url":"https://api.github.com/users/batkov/gists{/gist_id}","starred_url":"https://api.github.com/users/batkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batkov/subscriptions","organizations_url":"https://api.github.com/users/batkov/orgs","repos_url":"https://api.github.com/users/batkov/repos","events_url":"https://api.github.com/users/batkov/events{/privacy}","received_events_url":"https://api.github.com/users/batkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-04-07T20:10:19Z","updated_at":"2016-12-08T02:47:24Z","closed_at":"2016-04-07T22:32:19Z","body":"- [ ] You've met the [prerequisites](https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites). **My version of mongo is higher**\n- [x] You're running the [latest version](https://github.com/ParsePlatform/parse-server/releases) of Parse Server.\n- [x] You've searched through [existing issues](https://github.com/ParsePlatform/parse-server/issues?utf8=%E2%9C%93&q=). Chances are that your issue has been reported or resolved before.\n#### Environment Setup\n\nAWS EC2\nParse Server 2.2.6\nMongoDB version 3.2.4\nnginx/1.4.6 (Ubuntu)\n#### Steps to reproduce\n\nFrom iOS sdk (1.13.0) \n`[PFObject saveAllInBackground:objectsToSave block:]`\nwhere `objectsToSave = [PFInstallation currentInstallation]`\n\nor\n`[objectToSave saveInBackgroundWithBlock:]`\nwhere `objectToSave` contains unsaved child\n\nSame time hosted dashboard from parse.com and dashboard on my mac is fully functioning.\n\nFrom device I can freely call cloud functions and save objects without unsaved children.\n\nIt start appearing after I moved server URL `https://mydomain.com/dev -> https://dev.mydomain.com`\n\nServer setup was changed a bit:\n\n```\n-  serverURL: 'https://mydomain.com/dev',\n-  publicServerURL: 'https://mydomain.com/dev',\n+  serverURL: 'https://dev.mydomain.com/',\n+  publicServerURL: 'https://dev.mydomain.com/',\n```\n#### Logs/Trace\n\n`Error Domain=Parse Code=107 \"cannot route batch path /classes/_Installation\" UserInfo={code=107, error=cannot route batch path /classes/_Installation, temporary=0, NSLocalizedDescription=cannot route batch path /classes/_Installation}`\n\n`Error Domain=Parse Code=107 \"cannot route batch path /classes/_User/objectId\" UserInfo={code=107, error=cannot route batch path /classes/_User/objectId, temporary=0, NSLocalizedDescription=cannot route batch path /classes/_User/objectId}`\nobjectId - is some real ID from db\n\nLog from server:\n\n```\nverbose: POST /dev/batch { 'x-real-ip': 'someip',\n  'x-forwarded-for': 'someip',\n  'x-nginx-proxy': 'true',\n  host: 'dev.mydomain.com',\n  connection: 'close',\n  'content-length': '730',\n  'x-parse-app-display-version': '1.0',\n  'x-parse-application-id': 'myAppId',\n  accept: '*/*',\n  'x-parse-os-version': '9.3 (15E65)',\n  'accept-language': 'en-us',\n  'x-parse-client-key': 'myClientKey',\n  'user-agent': 'MyApp/1 CFNetwork/758.3.15 Darwin/15.4.0',\n  'x-parse-app-build-version': '1',\n  'content-type': 'application/json; charset=utf-8',\n  'x-parse-session-token': 'r:9beb72d31ba1abfd3ed83530c1950690',\n  'x-parse-client-version': 'i1.13.0',\n  'x-parse-installation-id': '0295f118-c8f1-4555-8e72-0488edfec056',\n  'accept-encoding': 'gzip, deflate' } {\n  \"requests\": [\n    {\n      \"method\": \"PUT\",\n      \"path\": \"/classes/_User/**objectId**\",\n      \"body\": {\n        \"authData\": {\n          \"twitter\": {\n            .....\n          }\n        },\n        \"settings\": {\n          \"image_mode\": 30,\n          \"label_mode\": 0,\n          \"images\": [\n            \"app_premium_premium3\",\n            \"app_premium_premium2\"\n          ],\n          \"sounds_mode\": 10\n        }\n      }\n    },\n    {\n      \"method\": \"POST\",\n      \"path\": \"/classes/MediaOptions\",\n      \"body\": {\n        \"ACL\": {\n          \"**objectId**\": {\n            \"write\": true,\n            \"read\": true\n          }\n        },\n        \"user_label\": \"I'm \",\n        \"user\": {\n          \"objectId\": \"**objectId**\",\n          \"className\": \"_User\",\n          \"__type\": \"Pointer\"\n        }\n      }\n    }\n  ]\n}\nverbose: exception: code=107, message=cannot route batch path /classes/_User/**objectId**\n```\n"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/265638551","html_url":"https://github.com/ParsePlatform/parse-server/issues/1413#issuecomment-265638551","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1413","id":265638551,"user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T02:47:24Z","updated_at":"2016-12-08T02:47:24Z","body":"Locking now! Waiting for your new and fresh issues guys!"}}
{"actor":{"display_login":"flovilmart"}}