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! While you're at it, check out some resources Treehouse students have shared here.

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

JavaScript Asynchronous Programming with JavaScript Asynchronous JavaScript with Callbacks Async Programming and Callback Functions

JOE BELL
JOE BELL
11,113 Points

xhr.send() error

On line 16 there is an error printed in the console which reads... GET http://api.open-notify.org/astros.json net::ERR_INTERNET_DISSCONNECTED

when I paste the url http://api.open-notify.org/astros.json into the browser however I get the information.

{"message": "success", "people": [{"name": "Sergey Prokopyev", "craft": "ISS"}, {"name": "Dmitry Petelin", "craft": "ISS"}, {"name": "Frank Rubio", "craft": "ISS"}, {"name": "Nicole Mann", "craft": "ISS"}, {"name": "Josh Cassada", "craft": "ISS"}, {"name": "Koichi Wakata", "craft": "ISS"}, {"name": "Anna Kikina", "craft": "ISS"}, {"name": "Fei Junlong", "craft": "Shenzhou 15"}, {"name": "Deng Qingming", "craft": "Shenzhou 15"}, {"name": "Zhang Lu", "craft": "Shenzhou 15"}], "number": 10}

there seems to be a problem with line 16 xhr.send()

Steven Parker
Steven Parker
231,268 Points

If you still need help with this, try showing your code.
The best way is to make a snapshot of your workspace and post the link to it here.