com.mongodb.WriteConcernException: Write failed with error code 16836 and error message 'Cannot apply $pull to a non-array value'

Stack Overflow | aarish | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Mongodb update query returns 'Cannot apply $pull to a non-array value'

    Stack Overflow | 7 months ago | aarish
    com.mongodb.WriteConcernException: Write failed with error code 16836 and error message 'Cannot apply $pull to a non-array value'
  2. 0

    Issue in data insertion mongodb error

    Stack Overflow | 10 months ago | kiranramannaiyer
    com.mongodb.WriteConcernException: Write failed with error code 8 and error message 'assertion src/mongo/db/storage/mmap_v1/extent.h:81'
  3. 0

    GitHub comment 365#209966986

    GitHub | 1 year ago | Davilink
    com.mongodb.WriteConcernException: Write failed with error code 16837 and error message 'cannot use the part (recipients of recipients.address) to traverse the element ({recipients: [ { address: "hij@example.com", name: "Bessie Theresa Harmon", _id: ObjectId('570fa6be9aea6dd83337d634') } ]})'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.WriteConcernException

      Write failed with error code 16836 and error message 'Cannot apply $pull to a non-array value'

      at com.mongodb.operation.BaseWriteOperation.convertBulkWriteException()
    2. MongoDB Java Driver
      BaseWriteOperation.convertBulkWriteException
      1. com.mongodb.operation.BaseWriteOperation.convertBulkWriteException(BaseWriteOperation.java:239)
      1 frame