# Invalid index name \[Simulation\], must be lowercase

**URL:** <https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366>\
**Category:** Elasticsearch\
**Created:** [February 18, 2018, 7:53pm UTC](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366 "2018-02-18T19:53:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomak](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@tomak](https://discuss.elastic.co/u/tomak)\
**Post date:** [February 18, 2018, 7:53pm UTC](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366/1 "2018-02-18T19:53:14Z")

</div>

I get this error when I try to add a son file using the bulk API.

```
{"index":{"_index":"Simulation","_type":"type","_id":"5a6675d1e4b09094a9a03114","status":400,"error":{"type":"invalid_index_name_exception","reason":"Invalid index name [Simulation], must be lowercase","index_uuid":"_na_","index":"Simulation"}}}

```

My line with the corresponding "\_id" looks like this:

```
{"index":{"_id":"5a6675d1e4b09094a9a03114"}}
{"date":"2015 Q1", "profile":"Décile 5 - 2010", "supplier":"someSupplier", "supplierNl":"someSupplier", "supplierFr":"someSupplier", "consumerType":"someType", "offer":"someOffer", "productNameNl":"someName", "productNameFr":"someName", "dgo":"Bob", "defaultOffer_simulation":false, "socialOffer":false, "consumption":"blip", "price":blob, "priceKwh":0.05825529907578634, "variability":"variable"}

```

And this is my line in the command line

```
curl -XPOST -H 'Content-Type: application/json' localhost:9200/Simulation/type/_bulk --data-binary @OBS_Simulation_quarterly_gasTEST1.bson.json

```

Any help?

---

<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:** [February 18, 2018, 7:55pm UTC](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366/2 "2018-02-18T19:55:38Z")

</div>

> [@tomak](#):
>
> Invalid index name [Simulation], must be lowercase

What is unclear about this error message?

---

<div class="post-metadata">

**Author:** ![tomak](https://avatars.discourse-cdn.com/v4/letter/t/d9b06d/32.png) [@tomak](https://discuss.elastic.co/u/tomak)\
**Post date:** [February 18, 2018, 7:59pm UTC](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366/3 "2018-02-18T19:59:54Z")

</div>

Ok my bad. I was looking for Simulation in my file while it is actually the name of my index.

---

<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:** [March 18, 2018, 7:59pm UTC](https://discuss.elastic.co/t/invalid-index-name-simulation-must-be-lowercase/120366/4 "2018-03-18T19:59:59Z")

</div>

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