Connecting to MongoDB Using Compass

After I create a new connection and to connect it, it show me below error message

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.

I tried to use the Read Preference to Primary Preferred or Secondary Preferred but still show me the same error message.

Does anyone also facing this issue?

Sorry, I’m new to here and just saw the answer posted

https://discourse.university.mongodb.com/t/an-error-occurred-while-loading-navigation-not-master-and-slaveok-false/1087/2

1 Like

Did it resolve your issue?

Yes, restart the MongoDB Compass will solve the issue. Thanks.

1 Like

i’m still facing this issue… pl anyone help me