Ticket: Principle of Least Privilege

Hello all,

I’m having trouble with the final ticket to create a user in atlas. Some of the existing tickets were either outdated or weren’t working for me. This is what I did to make a user in the cluster. I added the readWrite permission on sample_mflix

However, with the following URI it still doesn’t work…
MFLIX_DB_URI=mongodb+srv://mflixAppUser:mflixAppPwd@…

Thanks for the help

I suspect you made some kind of typing or cut-n-paste error. May be you have an extra space in the password in Atlas. That’s the first thing I would check. Try reassigning the password by typing it manually.

Typing it manually worked. Not sure how that cut-and-paste issue was happening.

Thanks!

Sometimes special characters including double-quotes gets pasted as unreadable characters. I think that is why copy-paste doesn’t work sometimes :thinking:

Kanika