Uncaught IndexSizeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0. (http://localhost:5601/bundles/vendors.bundle.js?v=16602:12)

Hello Team

I've built kibana dashboards and shared the url in my web application. When I try to maximize the dashboard in my webapp the error comes up.

it's same with all the dashboards. but I'm not sure why?.

Any help is appreciated.

Thank you :slight_smile:

Rahul Nama

What version of Kibana are you running? It would really help us debug this if we could know which visualization type is causing the problem and how it's configured. Would it be possible to create a dashboard for each Visualization to find the culprit? Then, could you export the Visualization Saved Object under Management -> Saved Objects and provide the contents?

Hello @Nathan_Reese

I'm using Kibana 6.2.3, OS: Windows.

I've many visualizations in a single dashboard.

I embedded the dashboard in my web application.

And when I maximize every visualization except map is causing the same error
below is the dashboard I added in my web app

Sounds like a bug. Can you file an issue https://github.com/elastic/kibana/issues/new?template=Bug_report.md

1 Like

Getting the same issue when running Earthquake example - https://www.elastic.co/blog/earthquake-data-with-the-elastic-stack?baymax=rtp&storm=recommendation&elektra=blog&iesrc=rcmd&astid=a9888bd3-37c5-45d6-b894-1693b8f5f24d&at=69&rcmd_source=WIDGET&req_id=5e81a8f5-842c-4671-9d11-355dd57bafed

Hi,
I am facing similar issue in my dashboards.
Error in Console : Error: Uncaught IndexSizeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.
Kibana version : 6.2.2
Error Screenshot :

I am displaying the Kibana dashboards in my Web application in Tabs containing the dashboard Iframes.
The issue arises when Tab view is switched. Also the error occurs in the dashboards containing Tilemap visualisation.

Please help out.
Thanks :smiley:

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