title: Elasticsearch object mapping for tried to parse field [null] as object, but found a concrete value
body: <p>How can I change mapping or my input to resolve these error, using elasticsearch on AWS,</p>
  <p>Mapping:</p>
  <pre class="lang-json prettyprint-override"><code>    {
          &quot;index_patterns&quot;: [&quot;*-students-log&quot;],
          &quot;mappings&quot;: {
              &quot;properties&quot;: {
                  &quot;Data&quot;: {
                      &quot;type&quot;: &quot;object&quot;,
                      &quot;properties&quot;: {
                          &quot;PASSED&quot;: {
                              &quot;type&quot;: &quot;object&quot;
                          }
                      }
                  },
                  &quot;insertion_timestamp&quot;: {
                      &quot;type&quot;: &quot;date&quot;,
                      &quot;format&quot;: &quot;epoch_second&quot;
                  }
              }
          }
      }
  </code></pre>
  <p>My data :</p>
  <pre class="lang-sh prettyprint-override"><code>    curl -XPOST -H 'Content-Type: application/json' https://******.us-east-1.es.amazonaws.com/index_name/_doc/1 -d '{&quot;Data&quot;: {&quot;PASSED&quot;: [&quot;Vivek&quot;]},&quot;insertion_timestamp&quot;: 1591962493}'
  </code></pre>
  <p>Error I got :</p>
  <pre class="lang-json prettyprint-override"><code>    {&quot;error&quot;:{&quot;root_cause&quot;:[{&quot;type&quot;:&quot;mapper_parsing_exception&quot;,&quot;reason&quot;:&quot;object mapping for [Data.PASSED] tried to parse field [null] as object, but found a concrete value&quot;}],&quot;type&quot;:&quot;mapper_parsing_exception&quot;,&quot;reason&quot;:&quot;object mapping for [Data.PASSED] tried to parse field [null] as object, but found a concrete value&quot;},&quot;status&quot;:400}
  </code></pre>
  <p>What is the missing or wrong piece in the above data? Is there any other datatype I should use for array of string?
  Any help would be appreciated...</p>