# "No endpoint or operation" and doc\_count\_error\_upper\_bound" : 0,

**URL:** <https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914>\
**Category:** Elasticsearch\
**Created:** [June 19, 2017, 10:29am UTC](https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914 "2017-06-19T10:29:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurram\_Vinay](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@Gurram\_Vinay](https://discuss.elastic.co/u/Gurram_Vinay)\
**Post date:** [June 19, 2017, 10:29am UTC](https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914/1 "2017-06-19T10:29:35Z")

</div>

I was copied whole output since I might miss out any command or something, sorry for long code but I could not understand what is "No endpoint or operation" and second terminal output too. Is it anything wrong with my curl commands? - Thanks advance

elk@ubuntu:~/Desktop/Experiment/CSV 2 JSON/Data converstion/Pcap5$ curl -XGET localhost:9200/test5/pcap5?pretty  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "illegal\_argument\_exception",  
"reason" : "No endpoint or operation is available at [pcap5]"  
}  
],  
"type" : "illegal\_argument\_exception",  
"reason" : "No endpoint or operation is available at [pcap5]"  
},  
"status" : 400  
}

and another output:

elk@ubuntu:~/Desktop/Experiment/CSV 2 JSON/Data converstion/Pcap5$ curl -XGET localhost:9200/test5/\_search?pretty --data-binary @protocol\_aggs.json  
{  
"took" : 2,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 5,  
"successful" : 5,  
"failed" : 0  
},  
"hits" : {  
"total" : 4329,  
"max\_score" : 0.0,  
"hits" : []  
},  
"aggregations" : {  
"players" : {  
"doc\_count\_error\_upper\_bound" : 0,  
"sum\_other\_doc\_count" : 0,  
"buckets" : []  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![PaulieMac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pauliemac/32/19480_2.png) [@PaulieMac](https://discuss.elastic.co/u/PaulieMac)\
**Post date:** [June 19, 2017, 10:42am UTC](https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914/2 "2017-06-19T10:42:31Z")

</div>

> [@Gurram\_Vinay](#):
>
> /\_search?

The first query is missing ` /_search?` - I am guessing 'pcap5' is a type in the 'test5' index?

`localhost:9200/test5/pcap5?pretty`

should be:  
`localhost:9200/test5/pcap5/_search?pretty`

The second query looks to be executing ok, there must be something in your "aggs" that is meaning there are no matchers- perhaps an unruly filter?

hth,

Paul

---

<div class="post-metadata">

**Author:** ![Gurram\_Vinay](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@Gurram\_Vinay](https://discuss.elastic.co/u/Gurram_Vinay)\
**Post date:** [June 19, 2017, 8:07pm UTC](https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914/3 "2017-06-19T20:07:10Z")

</div>

Yeah , got it man. Thanks, my fault, If you don't mind can you suggest some tutorials or links or blogs(I'm learning by doing only - just by Googling it)

---

<div class="post-metadata">

**Author:** ![PaulieMac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pauliemac/32/19480_2.png) [@PaulieMac](https://discuss.elastic.co/u/PaulieMac)\
**Post date:** [June 20, 2017, 1:35pm UTC](https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914/4 "2017-06-20T13:35:33Z")

</div>

Ha ha I am doing the same thing - the elastic reference documentation and a willingness to experiment are the best resources I could find 😉

---

<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 18, 2017, 1:36pm UTC](https://discuss.elastic.co/t/no-endpoint-or-operation-and-doc-count-error-upper-bound-0/89914/5 "2017-07-18T13:36:04Z")

</div>

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