Having an issue connecting to Altas Cluster, I have whitelisted ip 0.0.0.0. To ensure I was able to connect to the db I printed the collection name to console. But when I try and insert a document into the collection, I get this error.
pymongo.errors.ServerSelectionTimeoutError: mongastreamlistener-ja2vb.mongodb.net:27017: [Errno 8] nodename nor servname provided, or not known
I have tried
collection_name.insert_one(json_data) same error.