Getting error in atlas while connecting to my sandbox

I am getting error while connecting to my sandbox via 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.

Kindly help, i tried changing to primary preferred and also secondary preferred, but didnt worked

Which version of compass are you using?
Please check this link

About the Chapter 1: Compass Connection [Solution]

Hi @Nitin_49213,

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

Additionally, I would request you to share the following :

  1. Screenshot of the error message that you are seeing on your screen.
  2. Version of Compass

Shubham Ranjan
Curriculum Support Engineer

1 Like