{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/hipchat-plugin/issues/34","labels_url":"https://api.github.com/repos/jenkinsci/hipchat-plugin/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/hipchat-plugin/issues/34/comments","events_url":"https://api.github.com/repos/jenkinsci/hipchat-plugin/issues/34/events","html_url":"https://github.com/jenkinsci/hipchat-plugin/issues/34","id":58101944,"number":34,"title":"Not functioning with v1 or v2 API tokens","user":{"login":"DavidR91","id":282737,"avatar_url":"https://avatars.githubusercontent.com/u/282737?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidR91","html_url":"https://github.com/DavidR91","followers_url":"https://api.github.com/users/DavidR91/followers","following_url":"https://api.github.com/users/DavidR91/following{/other_user}","gists_url":"https://api.github.com/users/DavidR91/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidR91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidR91/subscriptions","organizations_url":"https://api.github.com/users/DavidR91/orgs","repos_url":"https://api.github.com/users/DavidR91/repos","events_url":"https://api.github.com/users/DavidR91/events{/privacy}","received_events_url":"https://api.github.com/users/DavidR91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T17:46:54Z","updated_at":"2015-02-22T01:21:21Z","closed_at":null,"body":"`HipChat post may have failed. Response: {\"error\":{\"code\":401,\"type\":\"Unauthorized\",\"message\":\"Auth token invalid. Please see: https:\\/\\/www.hipchat.com\\/docs\\/api\\/auth\"}}`\r\n\r\nis all I get, regardless of v1 or v2. \r\n\r\nEven if I create a v1 token with admin permissions rather than notify, I still get the above response\r\n\r\nThis is with 0.1.8 available through Jenkins\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/hipchat-plugin/issues/comments/75411647","html_url":"https://github.com/jenkinsci/hipchat-plugin/issues/34#issuecomment-75411647","issue_url":"https://api.github.com/repos/jenkinsci/hipchat-plugin/issues/34","id":75411647,"user":{"login":"aldaris","id":206692,"avatar_url":"https://avatars.githubusercontent.com/u/206692?v=3","gravatar_id":"","url":"https://api.github.com/users/aldaris","html_url":"https://github.com/aldaris","followers_url":"https://api.github.com/users/aldaris/followers","following_url":"https://api.github.com/users/aldaris/following{/other_user}","gists_url":"https://api.github.com/users/aldaris/gists{/gist_id}","starred_url":"https://api.github.com/users/aldaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldaris/subscriptions","organizations_url":"https://api.github.com/users/aldaris/orgs","repos_url":"https://api.github.com/users/aldaris/repos","events_url":"https://api.github.com/users/aldaris/events{/privacy}","received_events_url":"https://api.github.com/users/aldaris/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T01:21:21Z","updated_at":"2015-02-22T01:21:21Z","body":"Works fine for me. 0.1.8 version of the plugin only supports v1 API so you should certainly not use v2 tokens."}}