Unable connect to M001 Sandbox from Compass

After test connection I have next error:

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.

Please help me

Thx Pavel

Have you gone through this post here

Let me know if it still doesn’t work!


I have the same problem , How do I find the replica name ?

Hi davidr17,

If you are connecting to our Atlas cluster, the replica set name is : Cluster-shard-0

If you are connecting through your sandbox cluster:

Click on Connect -> Click on Command Line Tools -> See the screenshot below, highlighted text will be your Replica Set name


Thanks, Kanika

thanks, that was helpfull.

1 Like