Skip to content

"This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string. #2108

Open
@Vturnus

Description

@Vturnus

Hi,
I have a standalone db (local),
and my mongoDB version is 6.0.4 (I had the same problem with 4.2.5)
I have added the retryWrites=false in the query string and even in my connection options but I still get this error.
IT'S SO FRUSTRATING HELP PLEASE!

connection string: 'mongodb://127.0.0.1:27017/mydbName?retryWrites=false'

connection options: {
useCreateIndex: true,
useNewUrlParser: true,
useUnifiedTopology: true,
retryWrites: false,
autoIndex: true, // Don't build indexes
poolSize: 10, // Maintain up to 10 socket connections
bufferMaxEntries: 0,
}

Thanks
-V

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigateThe issue's root cause is unknown. Someone needs to find that out.mongo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions