{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-js/issues/137","labels_url":"https://api.github.com/repos/getsentry/raven-js/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-js/issues/137/comments","events_url":"https://api.github.com/repos/getsentry/raven-js/issues/137/events","html_url":"https://github.com/getsentry/raven-js/issues/137","id":20298807,"number":137,"title":"400 Bad request","user":{"login":"jonashaag","id":175722,"avatar_url":"https://avatars.githubusercontent.com/u/175722?v=3","gravatar_id":"","url":"https://api.github.com/users/jonashaag","html_url":"https://github.com/jonashaag","followers_url":"https://api.github.com/users/jonashaag/followers","following_url":"https://api.github.com/users/jonashaag/following{/other_user}","gists_url":"https://api.github.com/users/jonashaag/gists{/gist_id}","starred_url":"https://api.github.com/users/jonashaag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonashaag/subscriptions","organizations_url":"https://api.github.com/users/jonashaag/orgs","repos_url":"https://api.github.com/users/jonashaag/repos","events_url":"https://api.github.com/users/jonashaag/events{/privacy}","received_events_url":"https://api.github.com/users/jonashaag/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-09-30T23:04:58Z","updated_at":"2015-06-14T23:08:58Z","closed_at":"2013-09-30T23:23:08Z","body":"I just tried out raven-js with Sentry and it's always failing to report the error. The chrome console says `Failed to load resource: the server responded with a status of 400 (BAD REQUEST)`.\r\n\r\nThe URL looks like this:\r\n\r\n```\r\nhttp://sentry.mydomain.com/api/2/store/?sentry_version=2.0&sentry_client=raven-js/1.0.8&sentry_key=XXXXXX&sentry_data=%7B%22project%22%3A2%2C%22logger%22%3A%22javascript%22%2C%22platform%22%3A%22javascript%22%2C%22sentry.interfaces.Http%22%3A%7B%22url%22%3A%22http%3A%2F%2Flocalhost%3A8000%2Fsomeurl%2F%22%2C%22headers%22%3A%7B%22User-Agent%22%3A%22Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_8_5)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F29.0.1547.76%20Safari%2F537.36%22%7D%7D%2C%22sentry.interfaces.Exception%22%3A%7B%22type%22%3A%22ReferenceError%22%2C%22value%22%3A%22blabla%20is%20not%20defined%22%7D%2C%22sentry.interfaces.Stacktrace%22%3A%7B%22frames%22%3A%5B%7B%22filename%22%3A%22http%3A%2F%2Flocalhost%3A8000%2Fstatic%2Fjs%2Fraven.min.js%22%2C%22lineno%22%3A2%2C%22function%22%3A%22%3F%22%2C%22in_app%22%3Atrue%7D%2C%7B%22filename%22%3A%22http%3A%2F%2Flocalhost%3A8000%2Fsomeurl%2F%22%2C%22lineno%22%3A740%2C%22colno%22%3A5%2C%22function%22%3A%22%3F%22%2C%22in_app%22%3Atrue%7D%2C%7B%22filename%22%3A%22http%3A%2F%2Flocalhost%3A8000%2Fstatic%2Fjs%2Fraven.min.js%22%2C%22lineno%22%3A2%2C%22colno%22%3A254%2C%22function%22%3A%22e%22%2C%22in_app%22%3Atrue%7D%5D%7D%2C%22culprit%22%3A%22http%3A%2F%2Flocalhost%3A8000%2Fsomeurl%2F%22%2C%22message%22%3A%22blabla%20is%20not%20defined%22%7D\r\n```\r\n\r\nHowever, when calling the URL manually (Google Chrome, wget), it works.\r\n\r\nI'm using the latest stable versions of Sentry and raven-js and Google Chrome 29.0.1547.76"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-js/issues/comments/111883182","html_url":"https://github.com/getsentry/raven-js/issues/137#issuecomment-111883182","issue_url":"https://api.github.com/repos/getsentry/raven-js/issues/137","id":111883182,"user":{"login":"mverleg","id":6442863,"avatar_url":"https://avatars.githubusercontent.com/u/6442863?v=3","gravatar_id":"","url":"https://api.github.com/users/mverleg","html_url":"https://github.com/mverleg","followers_url":"https://api.github.com/users/mverleg/followers","following_url":"https://api.github.com/users/mverleg/following{/other_user}","gists_url":"https://api.github.com/users/mverleg/gists{/gist_id}","starred_url":"https://api.github.com/users/mverleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mverleg/subscriptions","organizations_url":"https://api.github.com/users/mverleg/orgs","repos_url":"https://api.github.com/users/mverleg/repos","events_url":"https://api.github.com/users/mverleg/events{/privacy}","received_events_url":"https://api.github.com/users/mverleg/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T23:08:58Z","updated_at":"2015-06-14T23:08:58Z","body":"I just ran into this problem with code 400"}}