Open utterances-bot opened 2 years ago
Hello there I removed unique: true but still I'm getting the sam error?
hey guys, i find the solution. Even though u ve changed unique to false, you should drop the unique from mongodb compass by going to you databases, choose your collection and then go to indexes, there need to be the unique fields u ve set then delete the field that you dont want to be unique
prnt.sc/nu8OrllXb0Py ,as you can check the screenshot I have not set any unique key but I am getting this same error.What should I do?????
How to fix MongoError:e11000 duplicate key error collection
In this article, you are going to learn about how to fix MongoError:e11000 duplicate key error collection. Working in a NoSQL database
https://codesource.io/how-to-fix-mongoerrore11000-duplicate-key-error-collection/