Bug: Problem with Making Requests


I am doing the Firebase API part of How to Use APIs with Javascript. In 5, making a request, I cant move past this section because it keeps telling me, “Oops, try again. Did you console.log(xhr.statusText)?

This just doesnt seem right so I think there is a bug with this exercise:

var xhr = new XMLHttpRequest();
xhr.open(“GET”, “https://www.codecademy.com/”, false);
// Add your code below!

anyone else having this problem, I have googled for answers etc, it all seems to be a problem with codecademy unable to process console.log on exercises…maybe?


Yeah! Have the same problem. Didn’t find any answer here on forums yet.


I used another browser on a different computer, and it worked…


I had the same problem while doing this exercise in Google Chrome. I switched to Firefox and used the same code and I passed.

Could there be a possible Chrome error?


Same error here. Works in Firefox, not Chrome.


It doesn’t work in safari either


Same problem here on Chrome and Firefox.


I explained it here:


and here:

Broken tutorial

But this tutorial is the old learning environment, there is a reason its hidden from the main site. I would advise against taking this course, given you might run into more bugs. Please visit the main site and take one of the supported courses


If you console log ‘OK’ instead you can get past this screen


Still getting error on today



The course is outdated and broken, workarounds are provided. Use them, if you still have questions, you can make a new topic, not hijack one. See guidelines