Mongo Atlas - Username containing an unescaped at-sign

Brendan shared this problem 5 years ago
Cannot Reproduce

I'm trying to connect to my mongo-atlas through NoSQLBooster.

I'm able to connect no problem with shell, however when I try to set it up and connect I'm getting this error. And this is even after I have escaped characters for my username & password already.

So this has to be an issue on the return route to NoSQLBooster

Help on this issue would be appreciated thanks.

btw my username on mongoatlas looks something brendan@taco.com


{"message":"Username containing an unescaped at-sign","stack":"Error: Username containing an unescaped at-sign\n at parseConnectionString (/Applications/NoSQLBooster for MongoDB.app/Contents/Resources/app.asar/node_modules/qh-mongodb/lib/url_parser.js:186:13)\n at parseHandler (/Applications/NoSQLBooster for MongoDB.app/Contents/Resources/app.asar/node_modules/qh-mongodb/lib/url_parser.js:129:14)\n at QueryReqWrap.callback (/Applications/NoSQLBooster for MongoDB.app/Contents/Resources/app.asar/node_modules/qh-mongodb/lib/url_parser.js:113:7)\n at QueryReqWrap.onresolve [as oncomplete] (dns.js:197:10)"}

Replies (1)

photo
1

Thank you for your feedback.

1) atlas, I tried to add an user "brendan@taco.com" to my atlas test database. but got such error: The username "brendan@taco.com" is invalid. Usernames can only contain ASCII letters, numbers, hyphens, and underscores, and should begin with a letter or number

/14b90c5d3c51224409b7aab3a5b747a5

2) I also tried with my local mongodb 4.0 db, it works.

/a6b05df648e474bb5e8c2ef381ed1dd3

Leave a Comment
 
Attach a file