# Is there a way to ignore invalid invalid parameters?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-ignore-invalid-invalid-parameters/137049>\
**Category:** Elasticsearch\
**Created:** [June 22, 2018, 3:12pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-ignore-invalid-invalid-parameters/137049 "2018-06-22T15:12:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a344254](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@a344254](https://discuss.elastic.co/u/a344254)\
**Post date:** [June 22, 2018, 3:12pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-ignore-invalid-invalid-parameters/137049/1 "2018-06-22T15:12:24Z")

</div>

I'm writing an EXTJS app and having to make a JSONP call to do a search query, but it's automatically adding a "callback" parameter to the URL and I haven't found a way to eliminate it. This is causing an "illegal\_argument\_exception" to be thrown because "request [/\_search] contains unrecognized parameter: [callback]"

I DO have the ability to change the parameter name from "callback" to anything, so is there a valid parameter name (like sort, that I could use that would essentially ignore the data that I'm passing in?

Or is there a way to tell Elastic to ignore these invalid parameters all together?

Thanks

---

<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 20, 2018, 3:12pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-ignore-invalid-invalid-parameters/137049/2 "2018-07-20T15:12:29Z")

</div>

Closed on July 20, 2018, 3:12pm UTC

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