Do you have the full code on GitHub, so we can see all the files and code?
EDIT: I am not sure if you are seeing any errors in your app’s console, but I would check there first for any hint of the problem.
Also, since you are using Heroku, you need to take note of the last paragraph in the challenge instructions (see below).
If you are working locally, you will need the dotenv package. It loads environment variables from your .env file into process.env . Install it with npm install dotenv . Then, at the top of your myApp.js file, import and load the variables with require('dotenv').config() .
I do not see any reference to dotenv in the code you posted above, so I assume you did not take these steps to install dotenv and require it appropriately.
Ok it worked! I was trying to check the outcome of the message on heroku when visiting the link/json and I wasn’t able to see the capital HELLO JSON 'cause I didn’t have the config var setted, now I changed it and It worked and passes the test as well on FCC. Thanks a lot to everyone.