No Preview

Ashikur Rahman Munna

Posted on 12 August at 17:41

Error - Updating the path 'cartItems.$' would create a conflict at 'cartItems

Error - Updating the path 'cartItems.$' would create a conflict at 'cartItems

E:\banglar-big-bazar\back-end\node_modules\mongodb\lib\cmap\connection.js:210 callback(new error_1.MongoServerError(document));
^

MongoServerError: Updating the path 'cartItems.$' would create a conflict at 'cartItems'
at Connection.onMessage (E:\banglar-big-bazar\back-end\node_modules\mongodb\lib\cmap\connection.js:210:30)
at MessageStream. (E:\banglar-big-bazar\back-end\node_modules\mongodb\lib\cmap\connection.js:63:60)
at MessageStream.emit (node:events:527:28)
at processIncomingData (E:\banglar-big-bazar\back-end\node_modules\mongodb\lib\cmap\message_stream.js:132:20)
at MessageStream._write (E:\banglar-big-bazar\back-end\node_modules\mongodb\lib\cmap\message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:389:12)
at _write (node:internal/streams/writable:330:10)
at MessageStream.Writable.write (node:internal/streams/writable:334:10)
at TLSSocket.ondata (node:internal/streams/readable:754:22)
at TLSSocket.emit (node:events:527:28) {
ok: 0,
code: 40,
codeName: 'ConflictingUpdateOperators',
'$clusterTime': {
clusterTime: Timestamp { low: 14, high: 1660304868, unsigned: true },
signature: {
hash: Binary {
sub_type: 0,
buffer: Buffer(20) [Uint8Array] [
51, 75, 12, 210, 84, 108,
151, 204, 82, 215, 167, 195,
105, 24, 157, 9, 219, 237,
233, 91
],
position: 20
},
keyId: Long { low: 2, high: 1650107962, unsigned: false }
}
},
operationTime: Timestamp { low: 13, high: 1660304868, unsigned: true },
[Symbol(errorLabels)]: Set(0) {}
}
[nodemon] app crashed - waiting for file changes before starting...

0

32

0

No Preview

Ashikur Rahman Munna

Bangladesh

Full stack web Developer || Mern Stack Web Developer

Explore more similar Post

1 Comments

Minhajur Rohoman

13 August at 3:34

same problem I faced! I couldn't find the problem

0
REPLY