# Query\_string parsing error

**URL:** <https://discuss.elastic.co/t/query-string-parsing-error/129283>\
**Category:** Kibana\
**Created:** [April 24, 2018, 10:19am UTC](https://discuss.elastic.co/t/query-string-parsing-error/129283 "2018-04-24T10:19:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dondanidang](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@dondanidang](https://discuss.elastic.co/u/dondanidang)\
**Post date:** [April 24, 2018, 10:19am UTC](https://discuss.elastic.co/t/query-string-parsing-error/129283/1 "2018-04-24T10:19:02Z")

</div>

Hi, I have an entity with field label name "Avengers: Infinity War".  
I have tried hard to retrieve it using query\_string but nothing seems to work. the parser is complaining about the character ':'.  
I don't know how to escape it inside wildcard character "\*", the recommended with "" doesn't work.  
GET /boards/BOARD/\_search  
{  
"query":{  
"bool":{  
"must":[  
{  
"terms":{  
"\_index":["boards"]  
}  
},  
{  
"range":{  
"numberOfCubes":{  
"gte":5,  
"lte":20  
}  
}  
},  
{  
"query\_string": {  
"fields": ["label", "description"],  
"query": "_Avengers: Infinity War_"  
}  
}  
]  
}

```
  },
  "size":20,
  "from":0
}

```

Any recommendation to work around this problem?

Here the same error using Kibana user interface.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/9/7978ad82fd48caf039a08738a01c2dd8075d962f.png)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 24, 2018, 4:20pm UTC](https://discuss.elastic.co/t/query-string-parsing-error/129283/2 "2018-04-24T16:20:48Z")

</div>

Hello,  
Can you try and escape the `:`?  
This should work as a query term: `label:"Avengers\: Infinity War"`

---

<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:** [May 22, 2018, 4:20pm UTC](https://discuss.elastic.co/t/query-string-parsing-error/129283/3 "2018-05-22T16:20:50Z")

</div>

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