The dollar ($) prefixed field is not valid for storage

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.4.7
    • Component/s: None
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MongoDB does not allowed to store a key prefixed with dollar symbol.
      Eg.

      {'$push' : {'$in' : [200, 201]}}
      

      Error message is: 

      MongoError: The dollar ($) prefixed field '$in'  is not valid for storage.
      

      In my case, this was happened when trying to update a document which is already exist.

            Assignee:
            Danny Hatcher (Inactive)
            Reporter:
            Muthu Prabu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: