New MongoDB version is not supported in Auth0

I am getting this error on users trying to login/signup with custom database mongodb:

Unsupported OP_QUERY command: find. The client driver may require an upgrade. For more details see

It seems that the new MongoDB version does not support version 3.1.4 which is used in auth0.
Please, help as I am in urgent need to resolve this, my non-social users cannot login anymore.


is there any support?

I got same issues i didn’t fix that, i will never use auth0 in my project. waste support and waste errors. I thought pay to win.

1 Like

Experiencing the same issue.

So far I haven’t found any helpful resources. If I find anything to help us reach a solution, I will post it here.

I’ve found that removing the version specification from the MongoClient declaration seems to work.

  const MongoClient = require('mongodb').MongoClient;

It’s working for me now but I can’t say for sure this is a long-term solution.


This worked for me aswell, thanks


Perfect! Teamwork makes the dreamwork!

1 Like

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