Getting error message in mongo shell while connecting to Sandbox cluster

Hi All,

While connecting to Sandbox Cluster from the mongo Shell I am getting below message.

''Error while trying to show server startup warnings: user is not allowed to do action [getLog] on [admin.] "

I am confused if I am connected or not and why I am getting this message. Attaching cmd and Connect to cluster screenshot for the same.

Help is much appreciated.



Please ignore and continue with your work as you are already connected to your cluster
Its just a warning message which says you don’t have privileges to do actions on admin DB

1 Like

Hello Ramachandra,

Thanks very much for your reply.

Can I please ask the reason behind this message as I followed same steps from the lecture video except one step where I chose region as " Mumbai (ap-south-1) " whereas in the video the region was select as " N. Virginia (us-east-1)".

The reason I chose region as Mumbai because I thought it does not matter as long as I am selecting a region with FREE TIER AVAILABLE.

Thank you once again for your help !

You did right thing by selecting Mumbai
In video it is USA as it is appropriate for their region
Those warning messages are not related to region
Basically user m001-student is given less privileges
If you give admin privs like clusteradmin,readwriteanydatabase roles those messages can be suppressed

Please go thru our forums-many threads available on how to fix it

1 Like