I used to send easily notifications with curl:
curl
-d {"message":"hello","notify":true}"
--header "Authorization: Bearer XXXXXXX",
--header "Content-type: application/json",
"https://api.hipchat.com/v2/user/someuser/message
but it has stopped working around 5 february 2017. I've seen that many changes have been happened in the API at that time.
The token hasn't expired.
I've read carefully this:
https://developer.atlassian.com/hipchat/guide/hipchat-rest-api/api-access-tokens
I've created new user tokens in https://fccma.hipchat.com/account/api with all permissions but no success:
Here is the response:
{
"error": {
"code": 401,
"message": "Invalid OAuth session",
"type": "Unauthorized"
}
What has changed?
Hi David,
Thanks for your question! This error can happen for 2 reasons:
To best assist you with this issue, it will best that you open a ticket following the link below and we will investigate the token with you.
I will watch for your ticket.
regards,
- Ricardo
Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.