{"action":"created","issue":{"url":"https://api.github.com/repos/hoodiehq/hoodie/issues/427","labels_url":"https://api.github.com/repos/hoodiehq/hoodie/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/hoodiehq/hoodie/issues/427/comments","events_url":"https://api.github.com/repos/hoodiehq/hoodie/issues/427/events","html_url":"https://github.com/hoodiehq/hoodie/issues/427","id":95231571,"number":427,"title":"HoodieObjectIdError message doesn't explain ID naming restriction","user":{"login":"skibz","id":2462211,"avatar_url":"https://avatars.githubusercontent.com/u/2462211?v=3","gravatar_id":"","url":"https://api.github.com/users/skibz","html_url":"https://github.com/skibz","followers_url":"https://api.github.com/users/skibz/followers","following_url":"https://api.github.com/users/skibz/following{/other_user}","gists_url":"https://api.github.com/users/skibz/gists{/gist_id}","starred_url":"https://api.github.com/users/skibz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skibz/subscriptions","organizations_url":"https://api.github.com/users/skibz/orgs","repos_url":"https://api.github.com/users/skibz/repos","events_url":"https://api.github.com/users/skibz/events{/privacy}","received_events_url":"https://api.github.com/users/skibz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T16:10:04Z","updated_at":"2015-09-18T15:14:52Z","closed_at":"2015-09-18T15:14:52Z","body":"example:\r\n\r\n```js\r\nhoodie.store.findOrAdd(\r\n    'account',\r\n    'abc@123.com', \r\n    {id:'abc@123.com', abc: 123}\r\n).done(\r\n    console.log.bind(console)\r\n).fail(\r\n    console.error.bind(console)\r\n);\r\n```\r\n\r\nresults in:\r\n\r\n```js\r\nHoodieError {\r\n    id: \"abc@123.com\",\r\n    name: \"HoodieObjectIdError\",\r\n    message: \"'abc@123.com' is invalid object id. undefined.\"\r\n}\r\n```\r\n\r\n`HoodieError.message` should also contain:\r\n> `@` or `.` characters are disallowed."},"comment":{"url":"https://api.github.com/repos/hoodiehq/hoodie/issues/comments/141479881","html_url":"https://github.com/hoodiehq/hoodie/issues/427#issuecomment-141479881","issue_url":"https://api.github.com/repos/hoodiehq/hoodie/issues/427","id":141479881,"user":{"login":"gr2m","id":39992,"avatar_url":"https://avatars.githubusercontent.com/u/39992?v=3","gravatar_id":"","url":"https://api.github.com/users/gr2m","html_url":"https://github.com/gr2m","followers_url":"https://api.github.com/users/gr2m/followers","following_url":"https://api.github.com/users/gr2m/following{/other_user}","gists_url":"https://api.github.com/users/gr2m/gists{/gist_id}","starred_url":"https://api.github.com/users/gr2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr2m/subscriptions","organizations_url":"https://api.github.com/users/gr2m/orgs","repos_url":"https://api.github.com/users/gr2m/repos","events_url":"https://api.github.com/users/gr2m/events{/privacy}","received_events_url":"https://api.github.com/users/gr2m/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T15:14:52Z","updated_at":"2015-09-18T15:14:52Z","body":"closing in favor of https://github.com/hoodiehq/pouchdb-hoodie-api/issues/80"}}