jenkinsci / hipchat-plugin

HipChat notification plugin for Jenkins
https://plugins.jenkins.io/hipchat/
54 stars 85 forks source link

Not functioning with v1 or v2 API tokens #34

Closed DavidR91 closed 9 years ago

DavidR91 commented 9 years ago

HipChat post may have failed. Response: {"error":{"code":401,"type":"Unauthorized","message":"Auth token invalid. Please see: https:\/\/www.hipchat.com\/docs\/api\/auth"}}

is all I get, regardless of v1 or v2.

Even if I create a v1 token with admin permissions rather than notify, I still get the above response

This is with 0.1.8 available through Jenkins

neuralsandwich commented 9 years ago

+1

aldaris commented 9 years ago

Works fine for me. 0.1.8 version of the plugin only supports v1 API so you should certainly not use v2 tokens.

neuralsandwich commented 9 years ago

I have used both the notification and admin token for api v1 and it did not work. I kept receiving Error 401, for bad authentication.

aldaris commented 9 years ago

Could this be caused by #31?

aldaris commented 9 years ago

Closing as cannot reproduce, works fine for me. Possibly caused by #31