Even I’m facing the same issue after version 6.8.0. Getting error 'MongoRuntimeError: Unexpected null cursor id. A cursor creating command should have set this\n
This error is being thrown for
collection.aggregate().toArray()
collection.aggregate().next()
Can someone in the community please help us on this as we are stuck in upgrading the version since 2 weeks ?