# Unkown setting error (illegal\_argument\_exception)

**URL:** https://discuss.elastic.co/t/unkown-setting-error-illegal-argument-exception/107437
**Category:** Elasticsearch
**Created:** [November 13, 2017, 4:45pm UTC](https://discuss.elastic.co/t/unkown-setting-error-illegal-argument-exception/107437 "2017-11-13T16:45:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jens\_van\_der\_Wateren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jens_van_der_wateren/32/23192_2.png) [@Jens\_van\_der\_Wateren](https://discuss.elastic.co/u/Jens_van_der_Wateren)
#### Post date: [November 13, 2017, 4:45pm UTC](https://discuss.elastic.co/t/unkown-setting-error-illegal-argument-exception/107437/1 "2017-11-13T16:45:47Z")

</div>

Hi,

I'm stuck with something when creating a new index and putting the data in. I'm trying to figure out Elasticsearch.. but Google has not really helped me yet. I'm running on Elastic version 5.6.3. This is my index:

> **Summary**
>
> ```
> curl -XPUT 'localhost:9200/email_data?pretty' -H 'Content-Type: application/json' -d'
> {
> "mappings": {
> 
> "user": {
> "properties": {
> "account_id": { "type": "integer" },
> "user_info": {
> "type": "nested",
> "properties": {
> "email": { "type": "keyword" },
> "email_fullstring": { "type": "text" },
> "brand": { "type": "keyword" },
> "brand_fullstring": { "type": "text" },
> "gender": { "type": "keyword" },
> "functiegrp": { "type": "keyword" },
> "functiegrp_fullstring": { "type": "text" },
> "functieclst": { "type": "keyword" },
> "functieclst_fullstring": { "type": "text" },
> "KWP": { "type": "keyword" },
> "KWP_fullstring": { "type": "text" },
> "AVKWP": { "type": "keyword" },
> "AVKWP_fullstring": { "type": "text" },
> "branbik": { "type": "keyword" },
> "branbik_fullstring": { "type": "text" },
> "avbranbikl": { "type": "keyword" },
> "avbranbikl_fullstring": { "type": "text" },
> "postal_code": { "type": "keyword" },
> "city": { "type": "keyword" }
> }
> },
> "campagnes": {
> "type": "nested",
> "properties": {
> "id": { "type": "integer" },
> "flights": {
> "properties": {
> "selectie_id": { "type": "integer" },
> "sents": {
> "type": "nested",
> "properties": { 
> "TID": { "type": "keyword" },
> "send_date": { "type": "date" }
> }
> },
> "clicks": {
> "type": "nested",
> "properties": {
> "TID": { "type": "keyword" },
> "click_date": { "type": "date" }
> }
> },
> "bounces": {
> "properties": {
> "TID": { "type": "keyword" },
> "bounce_date": { "type": "date" },
> "bounce_soort": { "type": "keyword" }
> }
> },
> "opens": {
> "properties": {
> "TID": { "type": "text" },
> "open_date": { "type": "date" },
> "device": { "type": "keyword" },
> "email_client": { "type": "keyword" },
> "ip": { "type": "ip" }
> }
> }
> }
> }
> }
> }
> }
> }
> }
> }
> '
> 
> ```

When running this, there are no errors. But when I try to put in my data:

> **Summary**
>
> curl -XPUT localhost:9200/email\_data/?pretty -H "Content-Type: application/json" -d '  
> {  
> "user": {  
> "account\_id": "1000034",  
> "user\_info": {  
> "email": "test@hotmail.com",  
> "email\_fullstring": "test@hotmail.com",  
> "brand": "something",  
> "brand\_fullstring": "something",  
> "gender": "M",  
> "functiegrp": "aaa",  
> "functiegrp\_fullstring": "aaa",  
> "functieclst": "",  
> "functieclst\_fullstring": "",  
> "KWP": "5tot9",  
> "KWP\_fullstring": "5tot9",  
> "AVKWP": "",  
> "AVKWP\_fullstring": "",  
> "branbik": "Onbekend",  
> "branbik\_fullstring": "Onbekend",  
> "avbranbikl": "",  
> "avbranbikl\_fullstring": "",  
> "postal\_code": "1111AB",  
> "city": "Amsterdam"  
> },  
> "campagnes": {  
> "id": "1069",  
> "flights": {  
> "selectie\_id": "3400",  
> "sents": {  
> "TID": "TIDP23605X0941655CB6B4413F8ADE9C8A52E36479YI3",  
> "send\_date": "10-01-2017 00:00:00"  
> },  
> "clicks": {  
> "TID": "TIDP23604XFAB2EB192A8D47259A5946040962B1DDYI3",  
> "click\_date": "10-01-2017 00:00:00"  
> },  
> "bounces": {  
> "TID": "TIDP23605X00271BB1763D4189B0B38C8DC19EB9E3YI3",  
> "bounce\_date": "10-01-2017 00:00:00",  
> "bounce\_soort": "H"  
> },  
> "opens": {  
> "TID": "TIDP23605X07A08C177150424CABFD964DBC606314YI3",  
> "open\_date": "10-01-2017 00:00:00",  
> "device": "",  
> "email\_client": "O",  
> "ip": ""  
> }  
> }  
> }  
> }  
> }'

I get the error:  
{  
"error": {  
"root\_cause": [  
{  
"type": "illegal\_argument\_exception",  
"reason": "unknown setting [index.user.account\_id] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "unknown setting [index.user.account\_id] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"  
},  
"status": 400  
}

I have no clue where to look. Is my format wrong? Or my index? Or is there some setting I don't know about that's causing all this? I'd appreciate the help 🙂

Thanks in advance,

Jens van der Wateren

---

<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: [December 11, 2017, 4:45pm UTC](https://discuss.elastic.co/t/unkown-setting-error-illegal-argument-exception/107437/2 "2017-12-11T16:45:50Z")

</div>

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