# Getting no overload matches this call in bool query

**URL:** <https://discuss.elastic.co/t/getting-no-overload-matches-this-call-in-bool-query/367129>\
**Category:** Elasticsearch\
**Created:** [September 25, 2024, 7:22pm UTC](https://discuss.elastic.co/t/getting-no-overload-matches-this-call-in-bool-query/367129 "2024-09-25T19:22:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Kumar\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aniket_kumar_singh/32/137869_2.png) [@Aniket\_Kumar\_Singh](https://discuss.elastic.co/u/Aniket_Kumar_Singh)\
**Post date:** [September 25, 2024, 7:22pm UTC](https://discuss.elastic.co/t/getting-no-overload-matches-this-call-in-bool-query/367129/1 "2024-09-25T19:22:16Z")

</div>

![Screenshot 2024-09-26 at 12.49.25 AM](https://us1.discourse-cdn.com/elastic/original/3X/9/1/91df43c8450a0a0bcf2e72938740dcc6aa11a52b.jpeg)  
I am getting this no overload matches error in bool query . For single term it works fine: const searchResult = await client.search({  
index: 'articles',  
body: {  
query: {  
terms: {  
articleId: articleIds // Using terms query to match any of the articleIds  
}  
}  
}  
}); but as soon its more than one, this error comes up
