Mongodb Validation error?

Tell us what’s happening:
I’m attempting the MongoDB challenges. I’ve literally copy-pasted the solutions into the file at the specified location. I’ve tried both Repl.it and glitch. I’ve used Postman to send requests as per server.js and verified that they perform alright. But freecodecamp is not passing my tests. This is anything further than step 1 (verifying the package).

Your code so far
Literally the sample solutions

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36.
(chrome)
Challenge: Create a Model

Link to the challenge:

Hi, Did you put your code at this location in myApp.js?

As good as, unless comment lines matter? lmao

Welcome, acenturyandabit.

Could you please provide a link to your project’s code?

1 Like

Thank you.

Do you seen any output in the logs that could be relevant? Are you sure you are connecting to the database successfully?

It might be worthwhile adding this to see if the env variables are behaving:

console.log(process.env.MONGO_DB_PW);

process env is working just fine. There are no logs on the webapp side, apart from POST or GET when i see the results coming in.