Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmos Mongo API Connection String Parse Error #9

Open
khowling opened this issue Sep 15, 2022 · 1 comment
Open

Cosmos Mongo API Connection String Parse Error #9

khowling opened this issue Sep 15, 2022 · 1 comment

Comments

@khowling
Copy link
Contributor

When deploying this template using the documentation, I received this error from the Functions:

Exception while executing function: Functions.lists Result: Failure
Exception: Error: Password contains an illegal unescaped character
Stack: Error: Password contains an illegal unescaped character
    at parseConnectionString (/home/site/wwwroot/node_modules/mongodb/lib/url_parser.js:305:13)
    at parseHandler (/home/site/wwwroot/node_modules/mongodb/lib/url_parser.js:136:14)
    at module.exports (/home/site/wwwroot/node_modules/mongodb/lib/url_parser.js:28:12)
    at deprecated (internal/util.js:89:15)
    at connect (/home/site/wwwroot/node_modules/mongodb/lib/operations/connect.js:282:3)
    at /home/site/wwwroot/node_modules/mongodb/lib/mongo_client.js:260:5
    at maybePromise (/home/site/wwwroot/node_modules/mongodb/lib/utils.js:692:3)
    at MongoClient.connect (/home/site/wwwroot/node_modules/mongodb/lib/mongo_client.js:256:10)
    at /home/site/wwwroot/node_modules/mongoose/lib/connection.js:835:12
    at new Promise (<anonymous>)
    at NativeConnection.Connection.openUri (/home/site/wwwroot/node_modules/mongoose/lib/connection.js:832:19)
    at /home/site/wwwroot/node_modules/mongoose/lib/index.js:351:10
    at /home/site/wwwroot/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5
    at new Promise (<anonymous>)
    at promiseOrCallback (/home/site/wwwroot/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10)
    at Mongoose._promiseOrCallback (/home/site/wwwroot/node_modules/mongoose/lib/index.js:1149:10)
@GeekTrainer
Copy link
Collaborator

Closed by #9 with great thanks to @khowling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants