Thanks Chris for your response. I got the right connect string from Atlas as you have suggested. Initially when I was using mongodb+srv I was getting error, after installing dnspython everything started working. Thanks again.
1 Like