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.'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 3.1.13
    • Fix Version/s: None
    • Component/s: MongoDB 3.2
    • Labels:
      None
    • MongoDB Version:
      Not Applicable

      Description

      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)]: {} }

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: