Skip to content

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

@sandeep14

Description

@sandeep14

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": "xxx@gmail.com"
},{email:1} ,function (err, resSet) {

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

});

need urgent help on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions