title: ElasticSearch: "Object field starting or ending with a [.] makes object resolution ambiguous: []"
body: <p>I'm getting the error "object field starting or ending with a [.] makes object resolution ambiguous: []". But there isn't a single dot [.] in my object. Using <code>elasticClient.update()</code> I'm passing:</p>
  
  <pre><code>{
      "index": "applicants",
      "type": "applicant",
      "id": "A01gfGEBKfWmu0nhvuR7",
      "body": {
          "doc": {
              "phsEmploymentHistory": {
                  "numSickDaysNotIll": "4",
                  "employers": [{
                      "employmentType": {},
                      "": {},
                      "name": null,
                      "supervisor": null,
                      "contactNumber": null,
                      "extension": null,
                      "email": null,
                      "coworker1": null,
                      "coworker2": null,
                      "duties": null,
                      "jobTitle": null,
                      "reasonLeaving": null,
                      "fullTime": null,
                      "partTime": null,
                      "temp": null,
                      "selfEmployed": null,
                      "volunteer": null,
                      "duration": {
                          "startDate": null,
                          "endDate": null
                      },
                      "address": {
                          "street": null,
                          "city": null,
                          "state": null,
                          "zip": null
                      }
                  }],
                  "agencies": [{
                      "": {},
                      "agencyName": null,
                      "backgroundInvestigator": null,
                      "contactNumber": null,
                      "extension": null,
                      "position": null,
                      "email": null,
                      "stepsCompleted": null,
                      "dateApplied": null,
                      "status": null,
                      "address": {
                          "street": null,
                          "city": null,
                          "state": null,
                          "zip": null
                      }
                  }],
                  "disciplined": {
                      "response": false,
                      "explanation": ""
                  },
                  "warnedDrugs": {
                      "response": false,
                      "explanation": ""
                  },
                  "valid": true
              }
          }
      }
  }
  </code></pre>
  
  <p>I've been over this several times. I don't think the error message is adequate. The "object resolution ambiguous: []" seems to hint that I have an empty array, but I don't. </p>