While I was inquiring about the document in the data lake collection in Realm Function, the following authentication failure error occurred
“uncaught promise rejection: error connecting to MongoDB service cluster: failed to ping: connection() error occured during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism “SCRAM-SHA-1”: (AuthenticationFailed) authentication failed, correlationID = 16c6f0d3ebf9520e6397ad2e”
The function script is as follows.
exports = async function(changeEvent) {
const user = context.services
.get("datalake")
.db("Database0")
.collection("Collection0");
let result = user.findOne({});
};
Can you tell me what I should do to solve this error?
