issue in Queryable & CSFLE Encryption ? Why this is mess to setup auto encryption with node js ?

I am facing issue while setting yup auto encryption ,
i got this : “writeError occurred: MongoServerError: BSON field ‘insert.jsonSchema’ is an unknown field. This command may be meant for a mongocryptd process.” whne added these options :const secureClient = new MongoClient(uri, {
autoEncryption: {
keyVaultNamespace,
kmsProviders,
schemaMap:patientSchema,
extraOptions: {
mongocryptdURI: uri,
mongocryptdSpawnPath: “C:/Program Files/MongoDB/Server/8.0/bin/mongodecrypt.exe”,
mongocryptdBypassSpawn: false,
}
}
});" and this :“TypeError: A crypt_shared override path was specified [C:/Program Files/MongoDB/Server/8.0/bin/mongodecrypt.exe], but we failed to open a dynamic library at that location. Load error: [(null)]” when writing this :const secureClient = new MongoClient(uri, {
autoEncryption: {
keyVaultNamespace,
kmsProviders,
schemaMap:patientSchema,
extraOptions: {
cryptSharedLibPath: “C:/Program Files/MongoDB/Server/8.0/bin/mongodecrypt.exe”,
}
}
});"

Hello! For the message about not finding a dynamic library at the location specified, I notice you’re pointing cryptSharedLibPath to an exe. You’ll need to replace that with the crypt_shared shared library. You can find more information about downloading this and the difference between it and mongocryptd at https://www.mongodb.com/docs/manual/core/queryable-encryption/install-library/