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

how can we connect with mongodb atlass using mongoskin, getting BSON field 'authenticate.nonce' is an unknown field error while connecting #202

Open
sandeep14 opened this issue Jan 9, 2023 · 0 comments

Comments

@sandeep14
Copy link

Hi ,

When we try to connect mongodbatlass using mongoskin then getting below error, When I excute any query with db

BSON field 'authenticate.nonce' is an unknown field

code sample
var mongo = require('mongoskin');

var db = mongo.db("mongodb+srv:XXX", {

native_parser : true,

//useNewUrlParser: true,
// useCreateIndex: true,
// useUnifiedTopology: true
});

db.collection('user').findOne({
"email": "[email protected]"
},{email:1} ,function (err, resSet) {

console.log("resSet:"+JSON.stringify(resSet))
console.log("resSet:"+err)

});

need urgent help on this

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

1 participant