Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API auth

David Pérez February 16, 2017

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?

1 answer

0 votes
Ricardo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2017

Hi David, 

Thanks for your question! This error can happen for 2 reasons:

  • If it's an invalid token or
  • the token is expired

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events