Here is the error code I am getting:
(node:1444) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [cluster0-shard-00-01-uzi93.mongodb.net:27017] on first connect [MongoError: bad auth Authentication failed.]
I have no idea why it is occurring, it didn’t occur before, then I saw that glitch’s IP was not whitelisted. So I run this in glitch’s cmd:
and then I put the IP on mongodb’s whitelist, same error happens. Can I get some help?
EDIT: My project was connecting perfectly fine until now, even without its IP being in the whitelist,