com.mongodb.MongoBulkWriteException: Bulk write operation error on server 192.168.56.1:27017. Write errors: [BulkWriteError{index=6, code=11000, message='E11000 duplicate key error collection: dbname.prodAgg index: id dup key: { : { prodCategory: "xxx", prodId: "yyyyy", location: "US-EAST" } }', details={ }}].

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Vamsi
, 11 months ago
Bulk write operation error on server 192.168.56.1:27017. Write errors: [BulkWriteError{index=6, code=11000, message='E11000 duplicate key error collection: dbname.prodAgg index: id dup key: { : { prodCategory: "xxx", prodId: "yyyyy", location: "US-EAST" } }', details={ }}].
via Stack Overflow by svs teja
, 2 years ago
Bulk write operation error on server Write errors: [BulkWriteError{index=0, code=11000, message='E11000 duplicate key error collection: index: _id_ dup key: { :
via Stack Overflow by user1653113
, 2 months ago
Bulk write operation error on server 10.10.10.10:27017. Write errors: [BulkWriteError{index=0, code=11000, message='E11000 duplicate key error collection: mytrips.reservations_bulktest index: id dup key: { : "1234" }', details={ }}].
via GitHub by ilPittiz
, 3 months ago
Bulk write operation error on server localhost:27017. Write errors: [BulkWriteError{index=0, code=11000, message='E11000 duplicate key error index: aqa.Cluster.$_id_ dup key: { : "dal05" }', details={ }}].
com.mongodb.MongoBulkWriteException: Bulk write operation error on server 192.168.56.1:27017. Write errors: [BulkWriteError{index=6, code=11000, message='E11000 duplicate key error collection: dbname.prodAgg index: id dup key: { : { prodCategory: "xxx", prodId: "yyyyy", location: "US-EAST" } }', details={ }}].
at com.mongodb.connection.BulkWriteBatchCombiner.getError(BulkWriteBatchCombiner.java:176)

Users with the same issue

5 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.