Auth0 MongoDB integration

While integrating MongoDB as a Custom Database.
When I tried to invoke the create (action) it doesn’t even run if I used an email that already exists in the Database.
Due to this, i my app shows “Something went wrong” where it should show “A user already exists”