Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12997

Bad error message for oversized insert

    • ALL
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      At the very least it needs an extra space. Should probably also say what the number is. Maybe include both actual size and max allowed size.

      {
              "ok" : 1,
              "n" : 0,
              "writeErrors" : [
                      {
                              "index" : 0,
                              "code" : 2,
                              "errmsg" : "object to insert too large16777217"
                      }
              ]
      }
      

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: