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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Sky020
February 2, 2021, 8:44pm
2
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.
Sky020
February 2, 2021, 11:39pm
4
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!
Sky020
February 3, 2021, 9:50am
6
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
system
Closed
August 4, 2021, 9:51pm
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.