# Discover: Internal Server Error in Elastic Cloud

**URL:** <https://discuss.elastic.co/t/discover-internal-server-error-in-elastic-cloud/188262>\
**Category:** Kibana\
**Created:** [July 1, 2019, 8:35am UTC](https://discuss.elastic.co/t/discover-internal-server-error-in-elastic-cloud/188262 "2019-07-01T08:35:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![werowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/werowe/32/47523_2.png) [@werowe](https://discuss.elastic.co/u/werowe)\
**Post date:** [July 1, 2019, 8:35am UTC](https://discuss.elastic.co/t/discover-internal-server-error-in-elastic-cloud/188262/1 "2019-07-01T08:35:40Z")

</div>

This error works from the command like but produces **internal error** in Elastic Cloud

> {  
> "aggs": {  
> "city": {  
> "terms": {  
> "field": "geoip.city\_name.keyword"  
> },  
> "aggs": {  
> "responses": {  
> "terms": {  
> "field": "response"  
> }  
> }  
> }  
> },  
> "responses": {  
> "terms": {  
> "field": "response"  
> }  
> }  
> }  
> }

produced this error:

> Discover: Internal Server Error  
> Less Info  
> OK  
> Error: Internal Server Error  
> SearchError@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/bundles/commons.bundle.js:3:297719](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/bundles/commons.bundle.js:3:297719)  
> [https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/bundles/commons.bundle.js:4:324940](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/bundles/commons.bundle.js:4:324940)  
> processQueue@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:199689](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:199689)  
> [https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:200662](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:200662)  
> $digest@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:210414](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:210414)  
> $apply@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:213226](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:213226)  
> done@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:132723](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:132723)  
> completeRequest@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:136337](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:136337)  
> requestLoaded@[https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built\_assets/dlls/vendors.bundle.dll.js:427:135240](https://78f7165792d54709b8ec37f3d80ed854.eu-central-1.aws.cloud.es.io:9243/built_assets/dlls/vendors.bundle.dll.js:427:135240)

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [July 1, 2019, 1:58pm UTC](https://discuss.elastic.co/t/discover-internal-server-error-in-elastic-cloud/188262/2 "2019-07-01T13:58:49Z")

</div>

Can you provide screenshots of how you're using this query in Kibana?

---

<div class="post-metadata">

**Author:** ![werowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/werowe/32/47523_2.png) [@werowe](https://discuss.elastic.co/u/werowe)\
**Post date:** [July 5, 2019, 10:58am UTC](https://discuss.elastic.co/t/discover-internal-server-error-in-elastic-cloud/188262/3 "2019-07-05T10:58:06Z")

</div>

Getting same error in local install. Please look here

> [@JSON queries in Kibana cause Discover: Internal Server Error](https://discuss.elastic.co/t/json-queries-in-kibana-cause-discover-internal-server-error/189075):
>
> I cannot execute the simplest of queries in Kibana that work just fine using curl. My understanding is that you you pick Lucene query language you can use JSON. So this query that works from curl: {"query":{"match":{"geoip.country\_name":"Luxembourg"}}} Causes this error when pasted into Kibana Discovery screen: [17%20PM] OK Error: Internal Server Error SearchError@[http://ec2-35-180-186-122.eu-west-3.compute.amazonaws.com:5601/bundles/commons.bundle.js:3:298205](http://ec2-35-180-186-122.eu-west-3.compute.amazonaws.com:5601/bundles/commons.bundle.js:3:298205)[http://ec2-35-180-186-1…](http://ec2-35-180-186-122.eu-west-3.compute.amazonaws.com:5601/bundles/commons.bundle.js:4:324937)

---

<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:** [August 2, 2019, 10:58am UTC](https://discuss.elastic.co/t/discover-internal-server-error-in-elastic-cloud/188262/4 "2019-08-02T10:58:07Z")

</div>

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