MongoServerError for getClusterParameter: "changeStreamOptions" Need solution

As per the documentation we can see the changestream options with command

db.adminCommand( { getClusterParameter: "changeStreamOptions" } )

But I am getting the below error using atlas for mongodb

MongoServerError: command not found
    at Connection.onMessage (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:2:886000)
    at MessageStream.<anonymous> (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:2:883886)
    at MessageStream.emit (node:events:513:28)
    at p (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:2:909858)
    at MessageStream._write (/Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js:2:908478)
    at writeOrBuffer (node:internal/streams/writable:391:12)
    at _write (node:internal/streams/writable:332:10)
    at Writable.write (node:internal/streams/writable:336:10)
    at TLSSocket.ondata (node:internal/streams/readable:754:22)
    at TLSSocket.emit (node:events:513:28)

Hey @Debabrata_Patnaik,

Thanks for reaching out to the MongoDB Community forums :sparkles:

Please note that the getClusterParameter is an administrative command for retrieving the values of cluster parameters and is only available in server version 6.0. The above command is not supported on MongoDB Atlas. Please refer to the getClusterParameter and setClusterParameter documentation to read more.

Best Regards,
Kushagra

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.