Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1917

i fot one issues in mongoDb Node js driver 'Write batch sizes must be between 1 and 100000. Got 0 operations.'

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.1.13
    • Component/s: MongoDB 3.2

      i got one issuse when i inserted data in mongodb atlas so that i got one problemĀ 

      i give all description

      *

      { MongoError: Write batch sizes must be between 1 and 100000. Got 0 operations.* *at E:\mvc_full_practice\node_modules\mongodb-core\lib\connection\pool.js:581:63* *at authenticateStragglers (E:\mvc_full_practice\node_modules\mongodb-core\lib\connection\pool.js:504:16)* *at Connection.messageHandler (E:\mvc_full_practice\node_modules\mongodb-core\lib\connection\pool.js:540:5)* *at emitMessageHandler (E:\mvc_full_practice\node_modules\mongodb-core\lib\connection\connection.js:310:10)* *at TLSSocket.<anonymous> (E:\mvc_full_practice\node_modules\mongodb-core\lib\connection\connection.js:453:17)* *at TLSSocket.emit (events.js:182:13)* *at addChunk (_stream_readable.js:283:12)* *at readableAddChunk (_stream_readable.js:264:11)* *at TLSSocket.Readable.push (_stream_readable.js:219:10)* *at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)* *operationTime:* *Timestamp \{ _bsontype: 'Timestamp', low_: 2, high_: 1554122597 }

      ,*
      ok: 0,
      errmsg:
      'Write batch sizes must be between 1 and 100000. Got 0 operations.',
      code: 16,
      codeName: 'InvalidLength',
      '$clusterTime':
      *

      { clusterTime:* *Timestamp \{ _bsontype: 'Timestamp', low_: 2, high_: 1554122597 }

      ,*
      signature: { hash: [Binary], keyId: [Long] } },
      name: 'MongoError',
      [Symbol(mongoErrorContextSymbol)]: {} }

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            cismox.code@gmail.com Darshit Gajjar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: