It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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.
http://screencast.com/t/etP8Cje4i15
Joshua,
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
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!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.