{"action":"created","issue":{"url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/157","labels_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/157/comments","events_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/157/events","html_url":"https://github.com/hipchat/hipchat-rb/issues/157","id":123092152,"number":157,"title":"Unexpected 504 for room","user":{"login":"mrjcleaver","id":59202,"avatar_url":"https://avatars.githubusercontent.com/u/59202?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjcleaver","html_url":"https://github.com/mrjcleaver","followers_url":"https://api.github.com/users/mrjcleaver/followers","following_url":"https://api.github.com/users/mrjcleaver/following{/other_user}","gists_url":"https://api.github.com/users/mrjcleaver/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjcleaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjcleaver/subscriptions","organizations_url":"https://api.github.com/users/mrjcleaver/orgs","repos_url":"https://api.github.com/users/mrjcleaver/repos","events_url":"https://api.github.com/users/mrjcleaver/events{/privacy}","received_events_url":"https://api.github.com/users/mrjcleaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-19T15:17:26Z","updated_at":"2015-12-19T19:59:00Z","closed_at":null,"body":"Anyone seen this before?\r\n\r\n````\r\nError: #<HipChat::UnknownResponseCode: Unexpected 504 for room `Playlist Builder'>\"]\r\n/Volumes/Storage/martincleaver/.chefdk/gem/ruby/2.1.0/gems/hipchat-1.5.2/lib/hipchat/room.rb:142:in `send': Unexpected 504 for room `Playlist Builder' (HipChat::UnknownResponseCode)\r\n````\r\n\r\n504 doesn't even appear in https://www.hipchat.com/docs/apiv2/response_codes or https://www.hipchat.com/docs/api/response_codes\r\n\r\nI suppose I'll just have to catch such exceptions. Weird.\r\n"},"comment":{"url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/comments/166020296","html_url":"https://github.com/hipchat/hipchat-rb/issues/157#issuecomment-166020296","issue_url":"https://api.github.com/repos/hipchat/hipchat-rb/issues/157","id":166020296,"user":{"login":"rberrelleza","id":475313,"avatar_url":"https://avatars.githubusercontent.com/u/475313?v=3","gravatar_id":"","url":"https://api.github.com/users/rberrelleza","html_url":"https://github.com/rberrelleza","followers_url":"https://api.github.com/users/rberrelleza/followers","following_url":"https://api.github.com/users/rberrelleza/following{/other_user}","gists_url":"https://api.github.com/users/rberrelleza/gists{/gist_id}","starred_url":"https://api.github.com/users/rberrelleza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rberrelleza/subscriptions","organizations_url":"https://api.github.com/users/rberrelleza/orgs","repos_url":"https://api.github.com/users/rberrelleza/repos","events_url":"https://api.github.com/users/rberrelleza/events{/privacy}","received_events_url":"https://api.github.com/users/rberrelleza/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T19:59:00Z","updated_at":"2015-12-19T19:59:00Z","body":"That exception typically happens if something in the backed takes longer than expected to respond back, your safest bet is to add a catch and retry. Is it happening  a lot?"}}