Skip to content

MongoParserError: Expected retryWrites to be stringified boolean but got true #11134

@Fasunle

Description

@Fasunle

version 6.1.3
Do you want to request a feature or report a bug?
bug
What is the current behavior?
MongoParserError: Expected retryWrites to return a stringified Boolean but got true
If the current behavior is a bug, please provide the steps to reproduce.

[x] try to connect with the database using the connection string: mongodb+srv://:@sandbox.qnvqb.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

Uploading server-mongo.png…

What is the expected behavior?
server-mongo-error

What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
node 14.17.6
mongoose 6.1.3
mongodb 4.4.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalehelpThis issue can likely be resolved in GitHub issues. No bug fixes, features, or docs necessary

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions