# Cannot read property 'length' of undefined for world map plugin

**URL:** <https://community.grafana.com/t/cannot-read-property-length-of-undefined-for-world-map-plugin/9896>\
**Category:** Grafana Plugin Development\
**Created:** [August 23, 2018, 2:35pm UTC](https://community.grafana.com/t/cannot-read-property-length-of-undefined-for-world-map-plugin/9896 "2018-08-23T14:35:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xishan](https://avatars.discourse-cdn.com/v4/letter/x/ba9def/32.png) [@xishan](https://community.grafana.com/u/xishan)\
**Post date:** [August 23, 2018, 2:35pm UTC](https://community.grafana.com/t/cannot-read-property-length-of-undefined-for-world-map-plugin/9896/1 "2018-08-23T14:35:47Z")

</div>

I’m able to view data from kibana and even on table panel but while using worldmap I’m getting error “Cannot read property ‘length’ of undefined” form [Elasticsearch] datasource

TypeError: Cannot read property ‘length’ of undefined  
at e.isMsResolutionNeeded ([http://myip:3000/public/build/app.5372b9bbcb8c6d1c027e.js:1:17572](http://myip:3000/public/build/app.5372b9bbcb8c6d1c027e.js:1:17572))  
at new e ([http://myip:3000/public/build/app.5372b9bbcb8c6d1c027e.js:1:14477](http://myip:3000/public/build/app.5372b9bbcb8c6d1c027e.js:1:14477))

grafana :v5.1.4

---

<div class="post-metadata">

**Author:** ![grayson](https://avatars.discourse-cdn.com/v4/letter/g/c77e96/32.png) [@grayson](https://community.grafana.com/u/grayson)\
**Post date:** [September 3, 2019, 9:21am UTC](https://community.grafana.com/t/cannot-read-property-length-of-undefined-for-world-map-plugin/9896/2 "2019-09-03T09:21:37Z")

</div>

Hi, [xishan]  
Have you solved this problem?
