Mongodb connection


#1

Hi,

When I connect with mongodb, I get the below error

“Command failed with error 9: ‘The ‘cursor’ option is required, except for aggregate with the explain argument’ on server localhost:27017. The full response is { “ok” : 0.0, “errmsg” : “The ‘cursor’ option is required, except for aggregate with the explain argument”, “code” : 9, “codeName” : “FailedToParse” }”

Not able to perform any queries. All datatypes of the fields (except _id, which I have not included) seem to fine. Can someone tell me whats wrong and how I can rectify it? OS- Windows 10 latest version and Browser- Chrome 63.0.3239.84.

Thanks!


#2

Hi,

I have the same problem and i’ve read in another thread that this is due to Aggregation have been changed in MongoDB 3.6. (https://github.com/metabase/metabase/issues/6599)

So i’m planning to test with mongoDB (3.0 or 3.2), but that will be tomorrow :slight_smile:

Regards,

/ Mikael


#3

Yes, works fine after shifting to mongodb 3.4


#4

Thanks for your information!