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
    at MessageStream.<anonymous> (/Applications/MongoDB
    at MessageStream.emit (node:events:513:28)
    at p (/Applications/MongoDB
    at MessageStream._write (/Applications/MongoDB
    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,

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