Mongodb Basics - Authentication failed while connecting to Compass

Hello,

I am trying to connect to the MongoDB Compass, I am getting Authentication failed error, could you please assist me in connecting to the Atlas

Thanks,
Raghu

Hi @Raghu_15789,

Authentication failed error means you are entering a wrong combination of the username and password. Please ensure that there are not any blank space or junk characters present in the username or password.

If the issue still persists, please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer

I am getting same error… I want to know can username contain an underscore (’_’) ?

Hi @Shoto_Todoroki, seems like you are using an invalid combination of username and password. Always double-check the username and password as they are case sensitive and it is possible to make mistakes there.
Also, username CAN contain underscore("_").

In case of any doubts, please feel free to reach out to me.

Thanks. Regards.
Sourabh Bagrecha,
Curriculum Services Engineer.