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

Hip Chat API Error

When I try to call the HipChat API from i'm getting a 400 Bad Request. I'm able to use the same info in a "Advanced Rest Client" and it works perfectly. 

Here is the code & errror. Any help would be greatly appreciated.

2 answers

1 accepted

2 votes
Answer accepted
Conor Atlassian Team Sep 02, 2015


The field names in the JSON body are case sensitive so you should be using "message" and not "Message". Hopefully I'm reading the VB code in your screenshot correctly :smile:

this is exactly what the problem was. my json wasn't formatted correctly message was capital, and so was the color and the values inside colors! After changing it worked! Thank you very much!!

0 votes
Anatoli Atlassian Team Sep 02, 2015

Hi Joshua, It is difficult to debug what's going wrong just by looking at the screenshot, might be a lot of different things.


Given that it works using another client I suspect the request that you send with doesn't have the same structure/parameters compared to "Advanced Rest Client" request. You can try to sniff the network and compare the requests – should give you enough data of what's going wrong.

Suggest an answer

Log in or Sign up to answer
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,188 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