uncaught exception: Error: Updating user failed: User and role names must be either strings or objects :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype.updateUser@src/mongo/shell/db.js:1436:11
@(shell):1:1
I have tried to update the password for a user using updateUser method. but it is not working.
can any one suggest?
Thank you