You're trying to insert a duplicate record. You already have a record with that mentioned key in the id index.
Check your code or post it here. In your first post there's a bit which states...
Looking at the code a bit looks like it was a Bulk Update operation with upsert flag to be true
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/d4e4ef0b-4ffb-4138-ab42-2643c37fa734%40googlegroups.com.