# Visualize: Cannot read property 'some' of undefined

**URL:** https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374
**Category:** Kibana
**Created:** [June 4, 2018, 7:29am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374 "2018-06-04T07:29:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Jesus\_Garcia\_Rodrigu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesus_garcia_rodrigu/32/55522_2.png) [@Jesus\_Garcia\_Rodrigu](https://discuss.elastic.co/u/Jesus_Garcia_Rodrigu)
#### Post date: [June 4, 2018, 7:29am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/1 "2018-06-04T07:29:38Z")

</div>

When i try to save any visualization i get this error and then . The visualization is stored but is broken . I cant see anything . This happens most simple visualization ( document count ) . I dont have any field called some .

Just One note . This is happening in chrome . when i deleted all reports and a i entered in the same Kibana with fireforx the error disappeared . .

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [June 4, 2018, 9:00pm UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/2 "2018-06-04T21:00:27Z")

</div>

What version of Kibana are you running and what plugins do you have installed?

---

<div class="post-metadata">

### Author: ![Jesus\_Garcia\_Rodrigu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesus_garcia_rodrigu/32/55522_2.png) [@Jesus\_Garcia\_Rodrigu](https://discuss.elastic.co/u/Jesus_Garcia_Rodrigu)
#### Post date: [June 11, 2018, 1:51pm UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/3 "2018-06-11T13:51:33Z")

</div>

Kibana 6.2.4 with x-pack and heatbeat , filebeat . There are no custom plugings isntalled . At this moment i have tried different browsers and versions of crome and it only happens with my chrome desktop if i create the visualization . It i create the same visualization with a Firefox browser i dont have any problems and i can see it in my chrome version .

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [June 12, 2018, 5:48am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/4 "2018-06-12T05:48:51Z")

</div>

Hi,

could you please open the dev tools of your browser (Pressing F12) and check for the stack trace that should be on the "Console". It should print more context about where this error actually happened.

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![Jesus\_Garcia\_Rodrigu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesus_garcia_rodrigu/32/55522_2.png) [@Jesus\_Garcia\_Rodrigu](https://discuss.elastic.co/u/Jesus_Garcia_Rodrigu)
#### Post date: [June 12, 2018, 7:24am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/5 "2018-06-12T07:24:05Z")

</div>

I i am afraid the chrome console does not say nothing . I attach a screenshot .

but At this moment , irealize that there could be a significant info in the kibana screen . I see a mention to Array.filter but i am authenticated .

In fact I have anonymous access enabled for the front

The extended error info in kibana looks like this --\>

```
TypeError: Cannot read property 'some' of undefined at [http://xxxxx:5601/bundles/commons.bundle.js?v=16627:21:582466](http://xxxxx:5601/bundles/commons.bundle.js?v=16627:21:582466)
at [http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:582620](http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:582620)
at Array.filter (<anonymous>) at [http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:566753](http://xxxxxxxx:5601/bundles/commons.bundle.js?v=16627:21:566753)
at processQueue ([http://xxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:132456](http://xxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:132456) ) at [http://xxxxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:133349](http://xxxxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:133349)
at Scope.$digest ([http://xxxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:144239](http://xxxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:144239) ) at [http://elastic.iecisa.net:5601/bundles/vendors.bundle.js?v=16627:116:146743](http://elastic.iecisa.net:5601/bundles/vendors.bundle.js?v=16627:116:146743)
at completeOutstandingRequest ([http://xxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:36785](http://xxxxxxt:5601/bundles/vendors.bundle.js?v=16627:116:36785) ) at [http://xxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:39923](http://xxxxxxx:5601/bundles/vendors.bundle.js?v=16627:116:39923)
```

---

<div class="post-metadata">

### Author: ![Jesus\_Garcia\_Rodrigu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesus_garcia_rodrigu/32/55522_2.png) [@Jesus\_Garcia\_Rodrigu](https://discuss.elastic.co/u/Jesus_Garcia_Rodrigu)
#### Post date: [June 12, 2018, 7:26am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/6 "2018-06-12T07:26:14Z")

</div>

Sorre here is the atachement ..

 ![](https://us1.discourse-cdn.com/elastic/original/3X/4/6/460299bd5d2748aaf83912355be52388822c31ec.PNG)

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [June 12, 2018, 7:55am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/7 "2018-06-12T07:55:27Z")

</div>

This looks like a bug for me. I created [#19814](https://github.com/elastic/kibana/issues/19814) for this issue.

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![Jesus\_Garcia\_Rodrigu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesus_garcia_rodrigu/32/55522_2.png) [@Jesus\_Garcia\_Rodrigu](https://discuss.elastic.co/u/Jesus_Garcia_Rodrigu)
#### Post date: [June 12, 2018, 7:57am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/8 "2018-06-12T07:57:41Z")

</div>

in fact it is a question of giving permisssions to the anonymous user but at this moment i this moment i cant tell you . In any case kibana should make that request with an authenticated user ( for chrome , in firefox as i told you , it works )

---

<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 10, 2018, 7:57am UTC](https://discuss.elastic.co/t/visualize-cannot-read-property-some-of-undefined/134374/9 "2018-07-10T07:57:44Z")

</div>

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