Post a screenshot that shows exactly what you are doing that shows the error you are having.

Also post a screenshot that shows using the mongosh with the same connection.

Please do not redact or obfuscate the user name and password you use since the redaction might hide the error you make. If you are afraid to share the password for a server running on a private network you may always create a dummy user that only has read access on a dummy database.