===== Error ===== MongoServerError: Given transaction number 1 does not match any in-progress transactions. The active transaction number is -1 at Connection.onMessage (C:\Workspace\messing-space\mongodb-transaction-promise-all\node_modules\.pnpm\mongodb@4.8.0\node_modules\mongodb\lib\cmap\connection.js:210:30) at MessageStream. (C:\Workspace\messing-space\mongodb-transaction-promise-all\node_modules\.pnpm\mongodb@4.8.0\node_modules\mongodb\lib\cmap\connection.js:63:60) at MessageStream.emit (node:events:520:28) at processIncomingData (C:\Workspace\messing-space\mongodb-transaction-promise-all\node_modules\.pnpm\mongodb@4.8.0\node_modules\mongodb\lib\cmap\message_stream.js:132:20) at MessageStream._write (C:\Workspace\messing-space\mongodb-transaction-promise-all\node_modules\.pnpm\mongodb@4.8.0\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 Socket.ondata (node:internal/streams/readable:754:22) at Socket.emit (node:events:520:28) { ok: 0, code: 251, codeName: 'NoSuchTransaction', '$clusterTime': { clusterTime: new Timestamp({ t: 1658607360, i: 2 }), signature: { hash: new Binary(Buffer.from("0000000000000000000000000000000000000000", "hex"), 0), keyId: 0 } }, operationTime: new Timestamp({ t: 1658607360, i: 1 }), [Symbol(errorLabels)]: Set(1) { 'TransientTransactionError' } } ===== Error =====