Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

Thomas L
Thomas L
7,703 Points

The remote server returned an error: (400) Bad Request.

I have this error when I try to run my program, I spent a fair amount of time trying to fix this one, but I have been unsuccessful so far. I decided to run the solution provided in the Download section, and the same error occurred.

Have you been able to solve this issue? Or is it a problem with Microsoft's API?

Raffael Dettling
Raffael Dettling
32,998 Points

Can you show your code i canĀ“t say whats wrong The 400 code means something is wrong with the json according to API specifications

James Churchill
James Churchill
Treehouse Teacher

Thomas,

Can you share your code?

Thanks ~James