Thanks for the reply. I conducted a Primary Failover Test in the Atlas UI, and my app worked fine during and after the test.
So, this leaves us with intermittent network failures.
Is there any way we can verify that the ReplicaSetNoPrimary errors are indeed from network failures, by checking logs somewhere (or something else)?
And how exactly do I get the org name of my cluster?