Problems with connection to Mongo Atlas

An error occurred while loading navigation: ‘not master and slaveOk=false’: It is recommended to change your read preference in the connection dialog to Primary Preferred or Secondary Preferred or provide a replica set name for a full topology connection.

Hi @Joaquin_72859,

Please make sure you have filled in the connection string of the Primary node of the cluster in Compass. This should resolve the issue.

Currently this node is the primary -> cluster0-shard-00-01-jxeqq.mongodb.net

Or, you can enter the name of the replica set in the Replica Set Name field which will ensure that you get connected to the primary.

Hopefully this should resolve your issue. However, if the issue still persists then please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer