На
официальном сайте mongodb говорится:
Special characters in connection string password
If you have special characters in your password, you must encode those characters if using your password in a connection string URI. For a complete list of special characters and their corresponding encodings, see the ASCII Codes Table. Use the corresponding Hex value for your characters.
You can also use an online tool to encode your connection string, such as
https://www.urlencoder.org/.
EXAMPLE
If your password in plain-text is p@ssw0rd'9'!, you would need to encode your password as:
p%40ssw0rd%279%27%21
Т.е. при запросе просто прогоните ссылку запроса через
https://www.urlencoder.org/