-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoError: E11000 duplicate key error #14
Comments
@idanwe, How do you create users? |
|
Looks like a problem in your schema. Are you using SimpleSchema ? If yes, Can you post your UserSchema here ? |
Not using SimpleSchema... |
@clarkritchie, were you able to solve it ??? can you post a lil code here ... Also check if your mongodb has indexes (on the key You may also find it easier to |
@ahmedtabrez Honestly, I've never messed with Mongo indexes! Here's what I've got -- your suggestion is to drop the index on
|
@clarkritchie , Drop the indexes manually and restart your application. If the indexes come back, Probably there is another package or another part of code which is playing with |
Thanks, I'll give that a shot. Maybe the EasySearch package created that index. I didn't create them manually... Appreciate the suggestion! |
Thanks again, confirmed it's coming from the Meteor EasySearch package. Cheers! |
Re-opening this one. We have 10,000 users in our application a lot of which are unverified, now and I get this error frequently when adding a new user. |
Same for me - any receipt to fix this? |
We sometimes see this error -- any thoughts?
The text was updated successfully, but these errors were encountered: