Skip to content
Advertisement

“Error: MongooseError: Operation `users.insertOne()` buffering timed out after 10000ms”,

I’m running MongoDB Atlas on node express and I got this error when I tested with postman.

JavaScript

This is my .env, I’m guessing the problem might be here too, Kindly help:

JavaScript

Advertisement

Answer

In my case, I had to go to Atlas, and reset my whitelisted IP to the correct address.

Then I restarted my local server and tried posting again on postman… And it worked!

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement