Problems with challenge not checking correctly

Tell us what’s happening:
Keeps timing out on repl.it, solution doesn’t matter

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36.

Challenge: Create and Save a Record of a Model

Link to the challenge:

Welcome, marcoratelle.

Would you mind sharing a link to your project code? It is difficult to help, and debug, if we cannot see what you are doing.

Thanks

I’ve set up my mongoDB for the previous challenges, this one doesn’t check no matter what.

I made my own solution, tried it.

Used the given solution, doesn’t work either.
Test times out.

If you want help, you are going to need to provide a lot more information.

Okay no problem.

this is the solution given by free code camp, I cannot get it to check it only times out.

https://repl.it/@marcoratelle1/boilerplate-mongomongoose-1

this is the challenge : https://www.freecodecamp.org/learn/apis-and-microservices/mongodb-and-mongoose/create-and-save-a-record-of-a-model

the database URI is in the .env file.

If there’s anything else you need let me know

Thanks!

Thank you, for providing that.

Your code passes the tests for me (I needed to fork your project, and add in my MONGO_URI). This means the issue is likely one of these:

  • Your database is not set up correctly. Are you sure you whitelisted all IP addresses?
  • Your URI is slightly incorrect.

Unfortunately, I cannot find out this for you, so I recommend you go over the instructions about setting up the database again:
MongoDB and Mongoose | freeCodeCamp.org

Hope this helps