# \[ImageURL\] query malformed, no start\_object after query name

**URL:** <https://discuss.elastic.co/t/imageurl-query-malformed-no-start-object-after-query-name/193988>\
**Category:** Elasticsearch\
**Created:** [August 6, 2019, 10:53am UTC](https://discuss.elastic.co/t/imageurl-query-malformed-no-start-object-after-query-name/193988 "2019-08-06T10:53:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nauman76](https://avatars.discourse-cdn.com/v4/letter/n/82dd89/32.png) [@nauman76](https://discuss.elastic.co/u/nauman76)\
**Post date:** [August 6, 2019, 10:53am UTC](https://discuss.elastic.co/t/imageurl-query-malformed-no-start-object-after-query-name/193988/1 "2019-08-06T10:53:51Z")

</div>

I have the following request json for ES query. It gives me error "[ImageURL] query malformed, no start\_object after query name"

Where i am doing wrong? Please help. I want to get records where "ImageURL" is not null  
{  
"from": 0,  
"size": 45,  
"query": {  
"bool": {  
"must": {  
"match\_all": {}  
},  
"filter": [  
[{  
"term": {  
"PostStatusInd": 1  
}  
}, {  
"term": {  
"PostCountry": "PAK"  
}  
}], {  
"range": {  
"RecModDate": {  
"gte": "2019-07-07 00:00:00"  
}  
}  
}, {  
"range": {  
"PostPriceAmt": {  
"gte": "0",  
"lte": "100000000"  
}  
}  
}, {  
"geo\_distance": {  
"distance": "41000km",  
"Location": {  
"lat": "33.6895939",  
"lon": "73.0435789"  
}  
}  
}  
],  
"must\_not": {  
"ImageURL": null  
}  
}  
},  
"sort": [{  
"RecModDate": {  
"order": "desc"  
}  
}]  
}

---

<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:** [September 3, 2019, 11:07am UTC](https://discuss.elastic.co/t/imageurl-query-malformed-no-start-object-after-query-name/193988/2 "2019-09-03T11:07:37Z")

</div>

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