I'm using Robo 3T (robomongo) to connect mongo cluster. I'm having this error while editing/deleting a document.
Error when saving document: 1 Not primary while writing to db
I googled for this error, many of the solution saying connect to Primary cluster but I don't know How?
You need to set connection string of primary cluster like this:
1) login to mongo cluster
2) click on cluster
3) click on primary name
4) add primary cluster name as a connection string in robomongo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With