# Iframe error when changing Iframe content

**URL:** <https://discuss.elastic.co/t/iframe-error-when-changing-iframe-content/364903>\
**Category:** Kibana\
**Tags:** dashboard\
**Created:** [August 14, 2024, 10:02am UTC](https://discuss.elastic.co/t/iframe-error-when-changing-iframe-content/364903 "2024-08-14T10:02:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanC](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@StefanC](https://discuss.elastic.co/u/StefanC)\
**Post date:** [August 14, 2024, 10:02am UTC](https://discuss.elastic.co/t/iframe-error-when-changing-iframe-content/364903/1 "2024-08-14T10:02:02Z")

</div>

Setup:

- Version 8.15.0 of kibana/elasticseach
- Create an application where kibana is hosted as an IFrame.
- Make serveral selections on the different dashboard.
- Navigate to other dashboards via drilldown

When changing the IFrame pointing to another dashboard an error appears

Error encountered while fetching unsaved changes: Cannot read properties of undefined (reading 'viewMode')

The only way to get around is to remove all concerned dashboards and load them again via import in saved objects .

This error was not appearing in version 8.8.0

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 20, 2024, 6:12pm UTC](https://discuss.elastic.co/t/iframe-error-when-changing-iframe-content/364903/2 "2024-08-20T18:12:06Z")

</div>

This sounds like a bug. Would you mind opening an issue at [Sign in to GitHub · GitHub](https://github.com/elastic/kibana/issues/new/choose)?
