{"action":"created","issue":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/678","labels_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/678/comments","events_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/678/events","html_url":"https://github.com/webcompat/webcompat.com/pull/678","id":101582950,"number":678,"title":"667/1 To square a bit error handling on the API side of our service. Fix #667","user":{"login":"karlcow","id":505230,"avatar_url":"https://avatars.githubusercontent.com/u/505230?v=3","gravatar_id":"","url":"https://api.github.com/users/karlcow","html_url":"https://github.com/karlcow","followers_url":"https://api.github.com/users/karlcow/followers","following_url":"https://api.github.com/users/karlcow/following{/other_user}","gists_url":"https://api.github.com/users/karlcow/gists{/gist_id}","starred_url":"https://api.github.com/users/karlcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlcow/subscriptions","organizations_url":"https://api.github.com/users/karlcow/orgs","repos_url":"https://api.github.com/users/karlcow/repos","events_url":"https://api.github.com/users/karlcow/events{/privacy}","received_events_url":"https://api.github.com/users/karlcow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webcompat/webcompat.com/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T06:41:03Z","updated_at":"2015-08-18T15:04:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webcompat/webcompat.com/pulls/678","html_url":"https://github.com/webcompat/webcompat.com/pull/678","diff_url":"https://github.com/webcompat/webcompat.com/pull/678.diff","patch_url":"https://github.com/webcompat/webcompat.com/pull/678.patch"},"body":"* Added a couple of tests\r\n* Added error messages in JSON. Handled at the same level than HTML in views.py\r\n* Removed some hard code failures with some URIs\r\n\r\nr? @miketaylr "},"comment":{"url":"https://api.github.com/repos/webcompat/webcompat.com/issues/comments/132241696","html_url":"https://github.com/webcompat/webcompat.com/pull/678#issuecomment-132241696","issue_url":"https://api.github.com/repos/webcompat/webcompat.com/issues/678","id":132241696,"user":{"login":"miketaylr","id":67283,"avatar_url":"https://avatars.githubusercontent.com/u/67283?v=3","gravatar_id":"","url":"https://api.github.com/users/miketaylr","html_url":"https://github.com/miketaylr","followers_url":"https://api.github.com/users/miketaylr/followers","following_url":"https://api.github.com/users/miketaylr/following{/other_user}","gists_url":"https://api.github.com/users/miketaylr/gists{/gist_id}","starred_url":"https://api.github.com/users/miketaylr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketaylr/subscriptions","organizations_url":"https://api.github.com/users/miketaylr/orgs","repos_url":"https://api.github.com/users/miketaylr/repos","events_url":"https://api.github.com/users/miketaylr/events{/privacy}","received_events_url":"https://api.github.com/users/miketaylr/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T15:04:15Z","updated_at":"2015-08-18T15:04:15Z","body":"It looks like this breaks the following:\r\n\r\n```\r\nFAIL: main - issues - non-existant issues go to 404 (10532ms)\r\nNoSuchElement: [POST http://localhost:4444/wd/hub/session/dfa77d4d-9275-489d-a394-4177c50ba6b2/element / {\"using\":\"css selector\",\"value\":\"#pageerror h1\"}] Unable to locate element: {\"method\":\"css selector\",\"selector\":\"#pageerror h1\"}\r\n```\r\n\r\nCan you investigate?\r\n\r\nThe expected behavior is that going to `/issues/484748493945/` (or whatever) ends up at the 404 page."}}