Error with await client.connect() node.JS

Hello @Tatiana_Wiener, you can substitute the actual username , password and the dbname in place of {username}, etc. For example,

"mongodb+srv://user001:secret123@cluster0.5r4og.mongodb.net/test?retryWrites=true&w=majority