Resuce and log on hipchat api error