Facing problem saying : "Error loading navigation"

I completed the add multiple collection lesson and after that for the quiz i logged in to my cluster in the compass …but i am facing the problem saying :
“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”

so i just want some help to get rid off this problem.

I solved the problem… i just changed the read preference to “Primary Preferred”…
Thanks.

Thanks Neel, you saved my time