MongoDB and Mongoose - Delete Many Documents with model.remove()

It’s done. Thank you so much @lasjorg and @camperextraordinaire . Sorry for disturbing and I know maybe I stressed you out in the past 3 days.

Looks like you didn’t use the correct format for the string.

Yes. I put my link instead of process.env.MONGO_URI

I know but that’s my only way to accept freecode my link

It should work just fine with the secret tab.

Make sure you didn’t add quotes around the connection string when you added it on Replit. Replit will automatically add the surrounding string and if you add it with a string it will be in double strings. You can check it using the “Open raw editor” button on the secret tab.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.