Tell us what’s happening:
Heya! So for this challenge I’m supposed to create and save a person, & I’ve done that. I’ve looked at hints, solutions & stack Overflow and the code looks good. however whenever I submit the link I get a “Creating and saving a db item should succeed (Test timed out)” error.
I tried playing around with the code and checked if mongo is connected and gave access from anywhere but that still didn’t work. What am I doing wrong??
I don’t think you’re doing anything wrong.
I just copied your code into my replit and it passed the test.
It’s probably worth just trying again, ideally at a quieter time of day for network activity e.g. early morning.
If that doesn’t work, the suggestions for replit timeout problems that I’ve seen in other threads seem to boil down to:
try using a VPN
or use a different platform
I’ve seen Glitch suggested several times as an alternate platform, and I saw a thread a few days ago where someone had used GitPod to get past replit timeout problems.
(I had endless timeouts in replit yesterday on the first part of of the Quality Assurance certification. I’m planning to try GitPod when I move on to the next section.)