So I am switching over to Mongo Atlas from the local database I have been using on my machine. I was able to connect in the command prompt fine and was also able to populate my database, but when it came to using the script as an environment variable in my .env file I ran into the following error. I would also like to mention I whitelisted my IP address and made sure that I am using the proper user and password to connect to my database.
So I am switching over to Mongo Atlas from the local database I have been using on my machine. I was able to connect in the command prompt fine and was also able to populate my database, but when it came to using the script as an environment variable in my .env file I ran into the following error. I would also like to mention I whitelisted my IP address and made sure that I am using the proper user and password to connect to my database.