'Authentication failed' error on a previously perfectly running MongoDB server hosted on MongoDB Atlas.
I have an instance of MongoDB running in MongoDB cloud. Everything was fine then all of a sudden I get an 'Authentication failed' error.
The funny thing is that this happened before then I changed my password in MongoDB cloud and it worked. How can I solve this permanently?
I am using MongoDB via mongoose in a NextJS app.