You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to update (i.e. changing any field apart from _id) a document, I am getting the following error:
mongodb-express | MongoServerError: Performing an update on the path '_id' would modify the immutable field '_id'
mongodb-express | at /node_modules/mongodb/lib/operations/update.js:72:33
mongodb-express | at /node_modules/mongodb/lib/cmap/connection_pool.js:333:25
mongodb-express | at /node_modules/mongodb/lib/sdam/server.js:210:17
mongodb-express | at handleOperationResult (/node_modules/mongodb/lib/sdam/server.js:326:20)
mongodb-express | at Connection.onMessage (/node_modules/mongodb/lib/cmap/connection.js:243:9)
mongodb-express | at MessageStream.<anonymous> (/node_modules/mongodb/lib/cmap/connection.js:61:60)
mongodb-express | at MessageStream.emit (node:events:517:28)
mongodb-express | at processIncomingData (/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
mongodb-express | at MessageStream._write (/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
mongodb-express | at writeOrBuffer (node:internal/streams/writable:392:12) {
mongodb-express | index: 0,
mongodb-express | code: 66,
mongodb-express | [Symbol(errorLabels)]: Set(0) {}
mongodb-express | }
The _id property is the object id and is in our case of type Long
monogo-express version: 1.0.0-18 running in docker container.
Updating/Creating documents used work with earlier mongo-express versions. I worked with 1.0.0-alpha.4
The text was updated successfully, but these errors were encountered:
When I try to update (i.e. changing any field apart from _id) a document, I am getting the following error:
The
_id
property is the object id and is in our case of type Longmonogo-express version: 1.0.0-18 running in docker container.
Updating/Creating documents used work with earlier mongo-express versions. I worked with 1.0.0-alpha.4
The text was updated successfully, but these errors were encountered: