Tell us what’s happening:
time out error

Your code so far

Your browser information:

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

Challenge: Create and Save a Record of a Model

Link to the challenge:


I took a look at your code and called the test suite, and it seems to be throwing a MongoDB connection error:

Double check that your MONGO_URI is correct and that you have whitelisted the IP for the tests to run.

check my mongo url its in app.js comment(line 33) and yes,i have whitelisted ip

IT Passede but any feedback or suggestions will be welcomed

Glad you got it to pass!

Your code looks good; sometimes the tests can be just a little tricky with the API projects. I’ve noticed that glitch tends to be unreliable at times as a hosting platform. Feel free to reach out if you have any other questions!

Happy Coding~!

1 Like