# Visualize: java.lang.IllegalStateException: Field data loading is forbidden

**URL:** <https://discuss.elastic.co/t/visualize-java-lang-illegalstateexception-field-data-loading-is-forbidden/39012>\
**Category:** Kibana\
**Created:** [January 12, 2016, 5:08pm UTC](https://discuss.elastic.co/t/visualize-java-lang-illegalstateexception-field-data-loading-is-forbidden/39012 "2016-01-12T17:08:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![itracing](https://avatars.discourse-cdn.com/v4/letter/i/919ad9/32.png) [@itracing](https://discuss.elastic.co/u/itracing)\
**Post date:** [January 12, 2016, 5:08pm UTC](https://discuss.elastic.co/t/visualize-java-lang-illegalstateexception-field-data-loading-is-forbidden/39012/1 "2016-01-12T17:08:11Z")

</div>

hi,

I am using Kibana (Version 4.3.1) for the first time. I have this error message when i try to visualize analyzed fields.

> Visualize: java.lang.IllegalStateException: Field data loading is forbidden on dstip

* * *

> Error: Request to Elasticsearch failed: {"error":{"root\_cause":[{"type":"exception","reason":"java.lang.IllegalStateException: Field data loading is forbidden on dstip"}],"type":"search\_phase\_execution\_exception","reason":"all shards failed","phase":"query","grouped":true,"failed\_shards":[{"shard":0,"index":"logstash-2016.01.12","node":"fLKXHekgTtCrLZ8-2ktvxQ","reason":{"type":"exception","reason":"java.lang.IllegalStateException: Field data loading is forbidden on dstip","caused\_by":{"type":"unchecked\_execution\_exception","reason":"java.lang.IllegalStateException: Field data loading is forbidden on dstip","caused\_by":{"type":"illegal\_state\_exception","reason":"Field data loading is forbidden on dstip"}}}}]}}  
> KbnError@[https://192.168.10.18/bundles/commons.bundle.js:58172:21](https://192.168.10.18/bundles/commons.bundle.js:58172:21)  
> RequestFailure@[https://192.168.10.18/bundles/commons.bundle.js:58205:1](https://192.168.10.18/bundles/commons.bundle.js:58205:1)  
> callResponseHandlers/\<@[https://192.168.10.18/bundles/kibana.bundle.js:79477:39](https://192.168.10.18/bundles/kibana.bundle.js:79477:39)  
> **WEBPACK\_AMD\_DEFINE\_RESULT** \</\</Promise.try@[https://192.168.10.18/bundles/commons.bundle.js:60997:20](https://192.168.10.18/bundles/commons.bundle.js:60997:20)  
> **WEBPACK\_AMD\_DEFINE\_RESULT** \</\</Promise.map/\<@[https://192.168.10.18/bundles/commons.bundle.js:60966:17](https://192.168.10.18/bundles/commons.bundle.js:60966:17)  
> **WEBPACK\_AMD\_DEFINE\_RESULT** \</\</Promise.map@[https://192.168.10.18/bundles/commons.bundle.js:60965:27](https://192.168.10.18/bundles/commons.bundle.js:60965:27)  
> callResponseHandlers@[https://192.168.10.18/bundles/kibana.bundle.js:79449:1](https://192.168.10.18/bundles/kibana.bundle.js:79449:1)  
> fetchWithStrategy/\<@[https://192.168.10.18/bundles/kibana.bundle.js:78954:17](https://192.168.10.18/bundles/kibana.bundle.js:78954:17)  
> processQueue@[https://192.168.10.18/bundles/commons.bundle.js:42358:29](https://192.168.10.18/bundles/commons.bundle.js:42358:29)  
> scheduleProcessQueue/\<@[https://192.168.10.18/bundles/commons.bundle.js:42374:28](https://192.168.10.18/bundles/commons.bundle.js:42374:28)  
> $RootScopeProvider/this.$get\</Scope.prototype.$eval@[https://192.168.10.18/bundles/commons.bundle.js:43602:17](https://192.168.10.18/bundles/commons.bundle.js:43602:17)  
> $RootScopeProvider/this.$get\</Scope.prototype.$digest@[https://192.168.10.18/bundles/commons.bundle.js:43413:16](https://192.168.10.18/bundles/commons.bundle.js:43413:16)  
> $RootScopeProvider/this.$get\</Scope.prototype.$apply@[https://192.168.10.18/bundles/commons.bundle.js:43710:14](https://192.168.10.18/bundles/commons.bundle.js:43710:14)  
> done@[https://192.168.10.18/bundles/commons.bundle.js:38159:37](https://192.168.10.18/bundles/commons.bundle.js:38159:37)  
> completeRequest@[https://192.168.10.18/bundles/commons.bundle.js:38357:8](https://192.168.10.18/bundles/commons.bundle.js:38357:8)  
> requestLoaded@[https://192.168.10.18/bundles/commons.bundle.js:38298:1](https://192.168.10.18/bundles/commons.bundle.js:38298:1)

An idea for solve tis problem ?

---

<div class="post-metadata">

**Author:** ![stormpython](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stormpython/32/7190_2.png) [@stormpython](https://discuss.elastic.co/u/stormpython)\
**Post date:** [January 12, 2016, 5:16pm UTC](https://discuss.elastic.co/t/visualize-java-lang-illegalstateexception-field-data-loading-is-forbidden/39012/2 "2016-01-12T17:16:54Z")

</div>

@itracing

Check out this thread: [https://github.com/elastic/elasticsearch/issues/15267](https://github.com/elastic/elasticsearch/issues/15267). Please read until the end.

---

<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:05pm UTC](https://discuss.elastic.co/t/visualize-java-lang-illegalstateexception-field-data-loading-is-forbidden/39012/3 "2017-07-06T14:05:15Z")

</div>


