# How to make a blank space query?

**URL:** <https://discuss.elastic.co/t/how-to-make-a-blank-space-query/323062>\
**Category:** Elasticsearch\
**Tags:** kql-kibana-query-language\
**Created:** [January 12, 2023, 8:57pm UTC](https://discuss.elastic.co/t/how-to-make-a-blank-space-query/323062 "2023-01-12T20:57:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanil](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@sanil](https://discuss.elastic.co/u/sanil)\
**Post date:** [January 12, 2023, 8:57pm UTC](https://discuss.elastic.co/t/how-to-make-a-blank-space-query/323062/1 "2023-01-12T20:57:33Z")

</div>

Hey everyone, I am trying to make an Elasticsearch request with a blank space as the query. The query should literally be a blank space as such: " ". For example, the query looks like this : {query": ( ) OR (\* _). However, I keep getting an error that says "reason":{"type":"query\_shard\_exception","reason":"Failed to parse query [( ) OR (_ \*)]". Does anyone know how to do a blank space search without getting this error? Any help would be appreciated 🙂 Thanks for your time!

---

<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, 2023, 8:57pm UTC](https://discuss.elastic.co/t/how-to-make-a-blank-space-query/323062/2 "2023-02-09T20:57:41Z")

</div>

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