Hi! I don’t know if this can help you, but today we need to change all the connection strings of our containers because something (I don’t know what) changes. You can check the string connection from your Cluster page and then in the “Connect” button.
For example, for Python 3.4 or later, the connection string is:
mongodb://<username>:<password>@**edited**.mongodb.net:27017,**edited**.mongodb.net:27017,**edited**.mongodb.net:27017/?ssl=true&replicaSet=**edited*&authSource=admin&retryWrites=true&w=majority
and for Python 3.6 or later is:
mongodb+srv://%3Cusername%3E:%3Cpassword%3E@**edited**j.mongodb.net/?retryWrites=true&w=majority
Hope it helps
Regards,
Víctor