Hi,
I have installed HipChat Room Notification app in my splunk and configured a search alert to a HipChat room. However, my alert is not reaching destination. It throws me the below error in my internal logs. Raised a case with Splunk, seems like they don't support this. Any help.
04-23-2018 17:10:02.344 +0000 WARN sendmodalert - action=hipchat - Alert action script returned error code=2
04-23-2018 17:10:02.344 +0000 INFO sendmodalert - action=hipchat - Alert action script completed in duration=68 ms with exit code=2
04-23-2018 17:10:02.341 +0000 FATAL sendmodalert - action=hipchat STDERR - Failed trying to send room notification
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - }
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - }
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "type": "Unauthorized"
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "message": "Invalid OAuth session",
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "code": 401,
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - "error": {
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - Server response: {
04-23-2018 17:10:02.341 +0000 ERROR sendmodalert - action=hipchat STDERR - Error sending message: HTTP Error 401: Unauthorized (['HTTPErrorsuper_init', 'class', 'delattr', 'dict', 'doc', 'format', 'getattribute', 'getitem', 'getslice', 'hash', 'init', 'iter', 'module', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'setstate', 'sizeof', 'str', 'subclasshook', 'unicode', 'weakref_', 'args', 'close', 'code', 'errno', 'filename', 'fileno', 'fp', 'getcode', 'geturl', 'hdrs', 'headers', 'info', 'message', 'msg', 'next', 'read', 'readline', 'readlines', 'reason', 'strerror', 'url'])
04-23-2018 17:10:02.307 +0000 INFO sendmodalert - action=hipchat STDERR - Sending message to hipchat room=1_splunk_alert_testing@conf.btf.hipchat.com with format=text
Thanks,
Ramu Chittiprolu