after connecting successfully for the first time to my atlas cluster(chika cluster), i tried connecting again after several hours and im getting an error of user is not allowed to do action. i saw the solutions given in a similar topic by changing the user role to atlasadmin which i did after which i couldnt write to the database again.
This error is just a warning, it won’t cause any issue accessing your cluster from Mongo shell. When you see like the below, it means you are in Mongo shell.
MongoDB Enterprise chikacluster-shard-0:PRIMARY>
Further, if you still want to get rid of this warning, you need to add a user with role:
clusterMonitor. Refer to documentation here: https://docs.mongodb.com/manual/reference/built-in-roles/#clusterMonitor