Authentication error when connecting MongoDB to Visual Studio code through connection string

I created a cluster in MongoDB and I am trying to connect it to visual studio code. When in visual studio code I have the MongoDB extension and choose to create a connection. I have the connection string and when I enter the string and hit enter it gives me an authentication error. What is the reason for this error and why will it not make the connection.

An aufhentication error mean you have the wrong user name or password.