# Error adding percolate with metadata

**URL:** <https://discuss.elastic.co/t/error-adding-percolate-with-metadata/5974>\
**Category:** Elasticsearch\
**Created:** [November 25, 2011, 8:34pm UTC](https://discuss.elastic.co/t/error-adding-percolate-with-metadata/5974 "2011-11-25T20:34:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehtryx](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@Mehtryx](https://discuss.elastic.co/u/Mehtryx)\
**Post date:** [November 25, 2011, 8:34pm UTC](https://discuss.elastic.co/t/error-adding-percolate-with-metadata/5974/1 "2011-11-25T20:34:48Z")

</div>

Kimchy: We've chatted about this on IRC and I went about a complete  
reconstruction with a fresh install of elasticsearch 0.18.4 on my  
local machine and proceeded to setup the box as I have in production  
to reproduce this error:

{"error":"RemoteTransportException[[Ghost Rider][inet[/  
192.168.252.136:9303]][indices/index/shard/index]]; nested:  
ElasticSearchIllegalArgumentException[query must be provided for  
percolate request]; ","status":400}

You can follow the recreation here: [https://gist.github.com/1394364](https://gist.github.com/1394364)

Any help appreciated....I had tried the commands against 0.17.8  
without having defined the mappings and it worked....not sure if they  
play a role or not.

Thanks

Keith

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [November 27, 2011, 3:44pm UTC](https://discuss.elastic.co/t/error-adding-percolate-with-metadata/5974/2 "2011-11-27T15:44:42Z")

</div>

Thanks for the repro, found the problem, opened an issue:  
[Registering a percolate query with additional "object" level metadata can fail · Issue #1505 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1505).

On Fri, Nov 25, 2011 at 10:34 PM, Mehtryx [keith@benedicthome.com](mailto:keith@benedicthome.com) wrote:

> Kimchy: We've chatted about this on IRC and I went about a complete  
> reconstruction with a fresh install of elasticsearch 0.18.4 on my  
> local machine and proceeded to setup the box as I have in production  
> to reproduce this error:
> 
> {"error":"RemoteTransportException[[Ghost Rider][inet[/  
> 192.168.252.136:9303]][indices/index/shard/index]]; nested:  
> ElasticSearchIllegalArgumentException[query must be provided for  
> percolate request]; ","status":400}
> 
> You can follow the recreation here: [https://gist.github.com/1394364](https://gist.github.com/1394364)
> 
> Any help appreciated....I had tried the commands against 0.17.8  
> without having defined the mappings and it worked....not sure if they  
> play a role or not.
> 
> Thanks
> 
> Keith

---

<div class="post-metadata">

**Author:** ![vinod\_eligeti](https://avatars.discourse-cdn.com/v4/letter/v/c4cdca/32.png) [@vinod\_eligeti](https://discuss.elastic.co/u/vinod_eligeti)\
**Post date:** [June 17, 2013, 6:18pm UTC](https://discuss.elastic.co/t/error-adding-percolate-with-metadata/5974/3 "2013-06-17T18:18:41Z")

</div>

Hi Kimchy,

I am getting the same error. The ES version which I am using is 0.20.6. Can  
you tell me whether the bug fixed in this version?

thanks

On Sunday, November 27, 2011 7:44:42 AM UTC-8, kimchy wrote:

> Thanks for the repro, found the problem, opened an issue:  
> [Registering a percolate query with additional "object" level metadata can fail · Issue #1505 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1505).
> 
> On Fri, Nov 25, 2011 at 10:34 PM, Mehtryx \<[ke...@benedicthome.com](mailto:ke...@benedicthome.com)\<javascript:\>
> 
> > wrote:
> 
> > Kimchy: We've chatted about this on IRC and I went about a complete  
> > reconstruction with a fresh install of elasticsearch 0.18.4 on my  
> > local machine and proceeded to setup the box as I have in production  
> > to reproduce this error:
> > 
> > {"error":"RemoteTransportException[[Ghost Rider][inet[/  
> > 192.168.252.136:9303]][indices/index/shard/index]]; nested:  
> > ElasticSearchIllegalArgumentException[query must be provided for  
> > percolate request]; ","status":400}
> > 
> > You can follow the recreation here: [https://gist.github.com/1394364](https://gist.github.com/1394364)
> > 
> > Any help appreciated....I had tried the commands against 0.17.8  
> > without having defined the mappings and it worked....not sure if they  
> > play a role or not.
> > 
> > Thanks
> > 
> > Keith

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:30am UTC](https://discuss.elastic.co/t/error-adding-percolate-with-metadata/5974/4 "2017-07-06T02:30:48Z")

</div>

Closed on July 6, 2017, 2:30am UTC


