# Errors: reason\\":\\"Unrecognized compile-time parameter(s)

**URL:** https://discuss.elastic.co/t/errors-reason-unrecognized-compile-time-parameter-s/350988
**Category:** Elasticsearch
**Created:** [January 12, 2024, 8:28pm UTC](https://discuss.elastic.co/t/errors-reason-unrecognized-compile-time-parameter-s/350988 "2024-01-12T20:28:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ElasticDev1](https://avatars.discourse-cdn.com/v4/letter/e/db5fbb/32.png) [@ElasticDev1](https://discuss.elastic.co/u/ElasticDev1)
#### Post date: [January 12, 2024, 8:28pm UTC](https://discuss.elastic.co/t/errors-reason-unrecognized-compile-time-parameter-s/350988/1 "2024-01-12T20:28:40Z")

</div>

I have written a scriptquery that should work but I keep getting this error "Unrecognized compile-time parameter(s)".

I have even super simplified my script where I just "return true", and continue to get the same error.

What could be the cause of this?

Does Elasticsearch uses any cache that I might need to clear? I am adding the script query to a boolquery search filter.

---

<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: [February 9, 2024, 8:29pm UTC](https://discuss.elastic.co/t/errors-reason-unrecognized-compile-time-parameter-s/350988/2 "2024-02-09T20:29:18Z")

</div>

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