When I type “db.changeUserPassword(‘MyUserName’, ‘MyPassword’)” this appear:
MongoServerError[AtlasError]: CMD_NOT_ALLOWED: updateUser
And I am the administrator, since I am taking a class for my college.
When I type “db.changeUserPassword(‘MyUserName’, ‘MyPassword’)” this appear:
MongoServerError[AtlasError]: CMD_NOT_ALLOWED: updateUser
And I am the administrator, since I am taking a class for my college.
I am assuming yours is a M0 cluster
If yes it is an unsupported command
Check this link
What is a M0 cluster?
A level of Atlas, MongoDB’s cloud offering of MongoDB-in-the-cloud.
I resolved this issue by going to Database Access in the left menu in the Clusters view, clicking Edit on my user, and then clicking Edit Password.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.