# Problems with Part 4 of the Crash Course

**URL:** <https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888>\
**Category:** Elasticsearch\
**Created:** [June 14, 2021, 6:39pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888 "2021-06-14T18:39:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejohnny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejohnny/32/90287_2.png) [@alejohnny](https://discuss.elastic.co/u/alejohnny)\
**Post date:** [June 14, 2021, 6:39pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/1 "2021-06-14T18:39:51Z")

</div>

Hi, I'm new to Elasticsearch and I'm starting with it watching the Crash Course, and in the part 4, when I run the first command to setup data within Elasticsearch, I'm returing a error 400 and couldn't figure out whats the problem.

[Link](https://github.com/LisaHJung/Part-4-Running-Aggregations-with-Elasticsearch-and-Kibana#set-up-data-within-elasticsearch)

I download the data examples from Kaggle, and upload in Kibana as instructed (index pattern name: ecommerce\_original\_data), then when I run the command:

```auto
PUT ecommerce_data
{
  "mappings": {
    "meta": {
      "created_by": "ml-file-data-visualizer"
    },
    "properties": {
      "Country": {
        "type": "keyword"
      },
      "CustomerID": {
        "type": "long"
      },
      "Description": {
        "type": "text"
      },
      "InvoiceDate": {
        "type": "date",
        "format": "M/d/yyyy H:m"
      },
      "InvoiceNo": {
        "type": "keyword"
      },
      "Quantity": {
        "type": "long"
      },
      "StockCode": {
        "type": "keyword"
      },
      "UnitPrice": {
        "type": "double"
      }
    }
  }
}

```

I'm getting the error:

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "mapper_parsing_exception",
        "reason" : "Root mapping definition has unsupported parameters: [meta : {created_by=ml-file-data-visualizer}]"
      }
    ],
    "type" : "mapper_parsing_exception",
    "reason" : "Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters: [meta : {created_by=ml-file-data-visualizer}]",
    "caused_by" : {
      "type" : "mapper_parsing_exception",
      "reason" : "Root mapping definition has unsupported parameters: [meta : {created_by=ml-file-data-visualizer}]"
    }
  },
  "status" : 400
}

```

Somebody can help me?

I'm self-hosting elasticsearch (7.13.1) and kibana (7.13.1).

EDIT: Updated the version of Kibana i'm running.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 14, 2021, 7:07pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/2 "2021-06-14T19:07:29Z")

</div>

Welcome!

I don't know what is happening but at least you should use the same version for both kibana and elasticsearch.

---

<div class="post-metadata">

**Author:** ![alejohnny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejohnny/32/90287_2.png) [@alejohnny](https://discuss.elastic.co/u/alejohnny)\
**Post date:** [June 14, 2021, 7:39pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/3 "2021-06-14T19:39:43Z")

</div>

Ok, I updated Kibana to version 7.13.1 to match versions. But still getting the same error.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 14, 2021, 8:24pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/4 "2021-06-14T20:24:07Z")

</div>

I have not seen this tutorial before, but based on the download instructions it looks like it may have been developed based on Elasticsearch 7.10 although it would be great of that was made clearer. I wonder if that could have any impact?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 14, 2021, 8:30pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/5 "2021-06-14T20:30:44Z")

</div>

Let's see if @Lisa_Jung could help. 😉

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [June 14, 2021, 11:37pm UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/6 "2021-06-14T23:37:07Z")

</div>

This is more of a guess, but I think the field should be `_meta` (note the underscore): [\_meta field | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.13/mapping-meta-field.html)

```auto
PUT ecommerce_data
{
  "mappings": {
    "_meta": {
      "created_by": "ml-file-data-visualizer"
    },
    ...

```

---

<div class="post-metadata">

**Author:** ![alejohnny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejohnny/32/90287_2.png) [@alejohnny](https://discuss.elastic.co/u/alejohnny)\
**Post date:** [June 15, 2021, 1:25am UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/7 "2021-06-15T01:25:15Z")

</div>

Wooooow, it worked!  
Thank you very much!

Tomorrow I'm gonna read the documentation to understand the variables, criterias, parameters, etc...

You're a life saver! Thanks!

 ![Screenshot_20210614-221806_Firefox](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4ccae7e90f597d25b155839bbd573986438e44a6.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 13, 2021, 1:25am UTC](https://discuss.elastic.co/t/problems-with-part-4-of-the-crash-course/275888/8 "2021-07-13T01:25:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
