Hip Chat API Error vb.net

When I try to call the HipChat API from vb.net 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

Accepted Answer
2 votes


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

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 vb.net 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 Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

506 views 1 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you