It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

i am not able to get room action in hipchat

i am using postman and sending get request to my hipchat server 

https://<myhipchatServer>/v2/room/1/extension/action/1?auth_token=token

 

but it showing this error

{
"error": {
"code": 403,
"message": "Only requests matching one of these authenticated principals are allowed to access this resource: a room add-on or token, a global add-on",
"type": "Forbidden"
}
}

1 answer

0 votes
David Maye Atlassian Team Mar 05, 2018

Hi Rahul,

The error message alludes to an issue with the token. Are you using a personal token to run the call? According to the error message, you'll need a room add-on/token (can be generated by going into the room settings via the web interface) or an add-on token (generated via the Oauth flow found here: https://developer.atlassian.com/server/hipchat/hipchat-rest-api-access-tokens/).

Additionally, there are special considerations in regards to the 'actions' sidebar, so it may be good to also take a peek at https://developer.atlassian.com/server/hipchat/actions/ as well.

Hope this helps! 

Cheers,
-David
HipChat Server/Data Center Support Engineer | Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,508 views 9 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you