Dremio x Mongodb - Error


I am encountering errors when executing queries using mongodb. The error is: “MongoCursorNotFoundException: Query failed with error code -5 and error message ‘Cursor 277712117235 not found on server’ on server”

Can someone help me?



The MongoCursorNotFoundException error could be due to a timeout limit in Mongodb, which is 10 minutes by default. You can refer to:

By default, the server will automatically close the cursor after 10 minutes of inactivity, or if client has exhausted the cursor.

Can you try setting “noCursorTimeout” to true via the Mongo source advanced property and run the query again?