My MongoDB shell has version v3.6.5 (the same with older versions) & MongoDB server has version: 3.6.8
I have MongoDB M0 Free Tier cluster and I want to use from shell different commands.
So, I created admin user with password:
And then connect via MongoDB shell using admin user:
Up to this point, everything is fine, but when I started to use commands I get always the issue:
I checked the answer from here and tried to create admin user directly from mongodb shell using command, but also the same error:
Why it happens? If I has already created admin user? Can someone explain me, thanks a lot in advance.