# Click errors Missing required parameter: query

**URL:** <https://discuss.elastic.co/t/click-errors-missing-required-parameter-query/245056>\
**Category:** Elastic Search\
**Created:** [August 14, 2020, 6:53pm UTC](https://discuss.elastic.co/t/click-errors-missing-required-parameter-query/245056 "2020-08-14T18:53:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_S](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sam_s/32/46221_2.png) [@Sam\_S](https://discuss.elastic.co/u/Sam_S)\
**Post date:** [August 14, 2020, 6:53pm UTC](https://discuss.elastic.co/t/click-errors-missing-required-parameter-query/245056/1 "2020-08-14T18:53:55Z")

</div>

When trying to register an empty search I get the following result:

`{"errors":["Missing required parameter: query"]}`

This is the payload executed at engines/local-test/click.json:  
`{"query":"","document_id":"4c1e9616-6da9-4ef8-9a89-0afc4a034116","request_id":"9243e458-1513-400e-81a7-4c2627b2ea66","tags":["results"]}`

You can test this easily using the Reference UI available in the engine.  
Is there a way to register the clicks for an empty search?

Kind regards,

Sam

---

<div class="post-metadata">

**Author:** ![Ines\_ZAYANI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ines_zayani/32/104584_2.png) [@Ines\_ZAYANI](https://discuss.elastic.co/u/Ines_ZAYANI)\
**Post date:** [April 28, 2022, 10:02pm UTC](https://discuss.elastic.co/t/click-errors-missing-required-parameter-query/245056/2 "2022-04-28T22:02:56Z")

</div>

hello, I have the same problem did you find the solution? if so would you share it with me?  
my search isn't empty but I'm trying to connect app-serach to postman via the RESt API.

---

<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:** [November 4, 2022, 8:10am UTC](https://discuss.elastic.co/t/click-errors-missing-required-parameter-query/245056/3 "2022-11-04T08:10:09Z")

</div>


