{"action":"created","issue":{"url":"https://api.github.com/repos/opbeat/opbeat-plain-js/issues/1","repository_url":"https://api.github.com/repos/opbeat/opbeat-plain-js","labels_url":"https://api.github.com/repos/opbeat/opbeat-plain-js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/opbeat/opbeat-plain-js/issues/1/comments","events_url":"https://api.github.com/repos/opbeat/opbeat-plain-js/issues/1/events","html_url":"https://github.com/opbeat/opbeat-plain-js/issues/1","id":196110896,"number":1,"title":"401 Not Authorized","user":{"login":"corradio","id":1655848,"avatar_url":"https://avatars.githubusercontent.com/u/1655848?v=3","gravatar_id":"","url":"https://api.github.com/users/corradio","html_url":"https://github.com/corradio","followers_url":"https://api.github.com/users/corradio/followers","following_url":"https://api.github.com/users/corradio/following{/other_user}","gists_url":"https://api.github.com/users/corradio/gists{/gist_id}","starred_url":"https://api.github.com/users/corradio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corradio/subscriptions","organizations_url":"https://api.github.com/users/corradio/orgs","repos_url":"https://api.github.com/users/corradio/repos","events_url":"https://api.github.com/users/corradio/events{/privacy}","received_events_url":"https://api.github.com/users/corradio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-16T17:20:35Z","updated_at":"2016-12-19T10:38:19Z","closed_at":"2016-12-19T10:37:49Z","body":"Hi there,\r\n\r\nI try to trigger send an error to opbeat, and from Chrome I see a POST to https://intake.opbeat.com/api/v1/organizations/093c53b0da9d43c4976cd0737fe0f2b1/apps/c36849e44e/client-side/errors/ but with an error code of 401.\r\nIt is sent from a local website running at localhost:8000\r\n\r\nTo load the library, I am using\r\n`<script defer src=\"https://d3tvtfb6518e3e.cloudfront.net/3/opbeat.min.js\"></script>`\r\n\r\nI'm configuring opbeat with \r\n```\r\n_opbeat('config', {\r\n    orgId: '093c53b0da9d43c4976cd0737fe0f2b1',\r\n    appId: 'c36849e44e'\r\n});\r\n```\r\n\r\nThe payload of the request is \r\n```\r\n{\"message\":\"Error: test\",\"culprit\":\"dist/bundle.da97b777e146b6e5fd3f.js\",\"exception\":{\"type\":\"Error\",\"value\":\"test\"},\"http\":{\"url\":\"http://localhost:8000/?wind=false\"},\"stacktrace\":{\"frames\":[{\"filename\":\"dist/bundle.da97b777e146b6e5fd3f.js\",\"lineno\":43,\"colno\":10,\"function\":\"<anonymous>\",\"abs_path\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js\",\"in_app\":true,\"sourcemap_url\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js.map\"},{\"filename\":\"dist/bundle.da97b777e146b6e5fd3f.js\",\"lineno\":40,\"colno\":18,\"function\":\"<anonymous>\",\"abs_path\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js\",\"in_app\":true,\"sourcemap_url\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js.map\"},{\"filename\":\"dist/bundle.da97b777e146b6e5fd3f.js\",\"lineno\":20,\"colno\":30,\"function\":\"__webpack_require__\",\"abs_path\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js\",\"in_app\":true,\"sourcemap_url\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js.map\"},{\"filename\":\"dist/bundle.da97b777e146b6e5fd3f.js\",\"lineno\":92,\"colno\":13,\"function\":\"<anonymous>\",\"abs_path\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js\",\"in_app\":true,\"sourcemap_url\":\"http://localhost:8000/dist/bundle.da97b777e146b6e5fd3f.js.map\"}]},\"user\":{},\"level\":null,\"logger\":null,\"machine\":null,\"extra\":{\"environment\":{\"utcOffset\":1,\"browserWidth\":778,\"browserHeight\":775,\"screenWidth\":1440,\"screenHeight\":900,\"language\":\"en-GB\",\"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36\",\"platform\":\"MacIntel\"},\"page\":{\"referer\":\"\",\"host\":\"localhost\",\"location\":\"http://localhost:8000/?wind=false\"}}}\r\n```"},"comment":{"url":"https://api.github.com/repos/opbeat/opbeat-plain-js/issues/comments/267933159","html_url":"https://github.com/opbeat/opbeat-plain-js/issues/1#issuecomment-267933159","issue_url":"https://api.github.com/repos/opbeat/opbeat-plain-js/issues/1","id":267933159,"user":{"login":"jahtalab","id":6134122,"avatar_url":"https://avatars.githubusercontent.com/u/6134122?v=3","gravatar_id":"","url":"https://api.github.com/users/jahtalab","html_url":"https://github.com/jahtalab","followers_url":"https://api.github.com/users/jahtalab/followers","following_url":"https://api.github.com/users/jahtalab/following{/other_user}","gists_url":"https://api.github.com/users/jahtalab/gists{/gist_id}","starred_url":"https://api.github.com/users/jahtalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jahtalab/subscriptions","organizations_url":"https://api.github.com/users/jahtalab/orgs","repos_url":"https://api.github.com/users/jahtalab/repos","events_url":"https://api.github.com/users/jahtalab/events{/privacy}","received_events_url":"https://api.github.com/users/jahtalab/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T10:38:19Z","updated_at":"2016-12-19T10:38:19Z","body":"@corradio ,\r\n\r\nGreat! Thanks for the feedback."}}
{"actor":{"display_login":"jahtalab"}}