# Invalid setting error while saving "User settings (elasticsearch.yml)"

**URL:** <https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693>\
**Category:** Elasticsearch\
**Created:** [October 23, 2016, 10:30pm UTC](https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693 "2016-10-23T22:30:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pungent](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@pungent](https://discuss.elastic.co/u/pungent)\
**Post date:** [October 23, 2016, 10:30pm UTC](https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693/1 "2016-10-23T22:30:29Z")

</div>

I have following settings for all nodes in my cluster:

Inline Scripts  
Scripts can be inlined in requests, e.g. search requests. We recommend disabling this, or at most enabling sandboxed. --\> selected ---\> `Enable sandboxed inline scripts`

Then I went down and under `User settings that will be appended to elasticsearch.yml`, I put this

`script.engine.groovy.inline.search: true` and click update. But it keeps throwing "Invalid settings" error. May I know what am I doing wrong, or how can I achieve what I am trying to do?

---

<div class="post-metadata">

**Author:** ![mainec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mainec/32/5557_2.png) [@mainec](https://discuss.elastic.co/u/mainec)\
**Post date:** [October 24, 2016, 7:36am UTC](https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693/2 "2016-10-24T07:36:54Z")

</div>

What version of ES are you using? Is there any additional information printed to the "Invalid settings" error? (Asking because I would expect the offending setting to be printed as well.)

---

<div class="post-metadata">

**Author:** ![pungent](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@pungent](https://discuss.elastic.co/u/pungent)\
**Post date:** [October 24, 2016, 3:46pm UTC](https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693/3 "2016-10-24T15:46:53Z")

</div>

`ES 2.3.5` , I just get the popup bubble on top right corner of the "configuration" page saying "invalid settings". That's all.

---

<div class="post-metadata">

**Author:** ![mainec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mainec/32/5557_2.png) [@mainec](https://discuss.elastic.co/u/mainec)\
**Post date:** [October 25, 2016, 9:44am UTC](https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693/4 "2016-10-25T09:44:49Z")

</div>

"popup bubble" sounds like you are using Kibana on top of Elasticsearch?

Reading  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html) it looks like the scripting language you are trying to enable (groovy) is not a sandboxed scripting language, it also lists what other options you will need to enable to use groovy.

As an aside - may I ask what use case you are trying to solve with using groovy?

Hope this helps,  
Isabel

---

<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 5, 2017, 10:10pm UTC](https://discuss.elastic.co/t/invalid-setting-error-while-saving-user-settings-elasticsearch-yml/63693/5 "2017-07-05T22:10:04Z")

</div>


