Query failed with error code 352 and error message 'Unsupported OP_QUERY command: find

Hello everyone,

I’ve encountered an issue while using this MongoDB driver in a Groovy script. We’re employing the same script for a different customer who is using a newer version of MongoDB. The specific error message we’re facing is: “Query failed with error code 352 and error message 'Unsupported OP_QUERY command: find. The client driver may require an upgrade.”

Any insights or suggestions would be greatly appreciated.
Thank you in advanced!

Hi @Julien_Tuchter

The remedy is in the message, upgrade the driver. At a minimum install 4.7 for full compatibility with MongoDB 6.0 but aim to use the latest version if you can.

OP_Query unsupported since MongoDB Rapid Release 5.1 or Community/Enterprise 6.0

While you should upgrade, I also suspect that you’re actually using an older driver than 3.12. I tested basic CRUD with 3.12.14 against MongoDB 7.0 and it appears to work fine.

Regards,
Jeff

1 Like

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