# "add panel" in dashboard edit view never loads

**URL:** <https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976>\
**Category:** Kibana\
**Created:** [July 6, 2021, 2:53pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976 "2021-07-06T14:53:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 6, 2021, 2:53pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/1 "2021-07-06T14:53:18Z")

</div>

kibana version 7.9.1. recently migrated from 6.8.x.

steps taken to recreate: kibana home -\> dashboards -\> open up existing dashboard -\> click "Add" -\> "Add panels" pane never populates with any saved visualizations. "Types:" field shows 2 types are selected by default but both of the 2 types are grayed out and can't be modified.

notes: am able to list visualizations in saved objects under stack management after changing the saved objects type. additionally, default search in saved objects barfs up an "unable to load saved objects" toast. am able to list out each type of saved objects successfully e.g. "type:(search)" but "type:(search or )" will barf up the same toast and only show the saved objects that match the first term of the type search.

attempted to use the fix found in [Kibana cannot list saved\_objects. Fielddata is disabled on text fields by default](https://discuss.elastic.co/t/kibana-cannot-list-saved-objects-fielddata-is-disabled-on-text-fields-by-default/214052) but since this is on 7.9, the bug found in 7.4 should have been resolved.

browser console shows this: `Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data` ... read this post ([Kibana: unexpected character at line 1 column 1 of the JSON data - #4 by ade.syseng](https://discuss.elastic.co/t/kibana-unexpected-character-at-line-1-column-1-of-the-json-data/239257/4)) but again, already on 7.9 so the fix there is not applicable.

logging is not active b/c \<vendor's configuration\> ... not yet anyway 😉

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [July 19, 2021, 3:52pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/2 "2021-07-19T15:52:49Z")

</div>

Hi, it's not clear if this is due to a mapping issue that popped up during the migration, or if there is something else going on.

> [@bacony0atmeal](#):
>
> browser console shows this: `Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data` ... read this post ([Kibana: unexpected character at line 1 column 1 of the JSON data - #4 by ade.syseng](https://discuss.elastic.co/t/kibana-unexpected-character-at-line-1-column-1-of-the-json-data/239257/4)) but again, already on 7.9 so the fix there is not applicable.

Does this error show up when you try the default search in the saved objects app under stack management? Are there specific things that cause this error?

This error just tells us that a network request had a response that couldn't be parsed into data that Kibana can show. Would you be able to view the `network` tab of the browser console and find the request that is failing, and show us the response?

Are you seeing any errors with stack traces that you could share with a screenshot?

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 19, 2021, 6:40pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/3 "2021-07-19T18:40:05Z")

</div>

> [@tsullivan](#):
>
> Does this error show up when you try the default search in the saved objects app under stack management?

Yes

> [@](#):
>
> Are there specific things that cause this error?

The other way to get this error message to appear is to change the value in the "search..." box in the Saved Objects page from `type:value` to `type:value1 OR value2`

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 19, 2021, 6:42pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/4 "2021-07-19T18:42:58Z")

</div>

> [@tsullivan](#):
>
> This error just tells us that a network request had a response that couldn't be parsed into data that Kibana can show. Would you be able to view the `network` tab of the browser console and find the request that is failing, and show us the response?

the request:  
[https://hostname/private/kibana/api/kibana/management/saved\_objects/\_find?perPage=50&page=1&fields=id&type=visualization,dashboard&sortField=type](https://hostname/private/kibana/api/kibana/management/saved_objects/_find?perPage=50&page=1&fields=id&type=visualization,dashboard&sortField=type)

the response:  
{"statusCode":400,"error":"Bad Request","message":"Unknown sort field type"}

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 19, 2021, 6:43pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/5 "2021-07-19T18:43:56Z")

</div>

> [@tsullivan](#):
>
> Are you seeing any errors with stack traces that you could share with a screenshot?

no but i attribute this to the current logging verbosity configuration. vendor is providing guidance for ++ing the verbosity.

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 19, 2021, 6:53pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/6 "2021-07-19T18:53:54Z")

</div>

i'm just guessing ++ the logging verbosity means adding to the kibana.yml file per this guide ...

> **[Logging settings in Kibana | Kibana Guide \[7.x\] | Elastic](https://www.elastic.co/guide/en/kibana/7.x/logging-settings.html)**

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 19, 2021, 7:11pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/7 "2021-07-19T19:11:30Z")

</div>

maybe this is helpful ... #notSure

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b1c2bf8861c00f1c82a1ecd495504862c08e64ef.png)

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 21, 2021, 7:01pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/8 "2021-07-21T19:01:45Z")

</div>

Verbose logging should output Kibana server logs to the terminal not to the browser console. If you have access to these logs (I hope you do!), could you output the error message please?

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:30pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/9 "2021-07-21T19:30:53Z")

</div>

so i'd see these log entries by using `journalctl -u kibana -f` ??

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 21, 2021, 7:37pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/10 "2021-07-21T19:37:32Z")

</div>

If you are sending kibana server logs to JournalBeat, then they _might_ be there. Do you have access to the server where kibana is running? It's those server logs we're after.

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:39pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/11 "2021-07-21T19:39:48Z")

</div>

i do have access to the server running the kibana service. the logging configuration is a bit opaque. i added the "log level = all" logic to the kibana.yml file yesterday. not seeing anything barfing to the console though...

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:41pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/12 "2021-07-21T19:41:57Z")

</div>

(where console == terminal console)

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:50pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/14 "2021-07-21T19:50:07Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f64b3553a8a42d1cbb160982c35fdad97c09438f.png)

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 21, 2021, 7:52pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/15 "2021-07-21T19:52:17Z")

</div>

I'm interpreting the original issue as "I can't add a panel to an existing dashboard". If that is what you are trying to do when the error happens, I assume you already have a dashboard that you'd like to add a new panel to (eg add another visualization).  
Am I correct?

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:52pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/16 "2021-07-21T19:52:54Z")

</div>

that is correct. the "add a panel" baby window never loads with the saved visualizations.

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:54pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/17 "2021-07-21T19:54:49Z")

</div>

behold, the inifinity spinners ...

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d822dc44715c9999b21071e34fe8c152fd0032d1.png)

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 21, 2021, 7:57pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/18 "2021-07-21T19:57:16Z")

</div>

> the "add a panel" baby window never loads with the saved visualizations.  
> Ah, ok. That might then be an issue with the dashboard app itself then OR you don't have write permissions for that dashboard.  
> Are you able to copy the dashboard? If so, could you try adding a new panel in the copy?

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 7:59pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/19 "2021-07-21T19:59:52Z")

</div>

yes, able to copy the dashboard. same behavior when trying to "Add a panel" to the copy. Additionally, I'm able to add content to a dashboard by clicking the "+ Create New" button in the "Add panels" pane so permissions are not an issue.

---

<div class="post-metadata">

**Author:** ![bacony0atmeal](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@bacony0atmeal](https://discuss.elastic.co/u/bacony0atmeal)\
**Post date:** [July 21, 2021, 8:02pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/20 "2021-07-21T20:02:41Z")

</div>

here i've added a new visualization (called bob goblin) to Error dashboard22 ...

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d8f75dddd28a383a63adb6037d6a13c523af5ff4.png)

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [July 21, 2021, 8:08pm UTC](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976/21 "2021-07-21T20:08:13Z")

</div>

Infinity spinners are never fun ☹ but I'm glad you can at least create new visualizations!

Could you try to export the visualizations you are trying to add to the dashboard from the saved objects management page and reimport them using the option to create new objects?

If you still can't add a saved visualization that you've now imported, then it's likely to be UI bug that hasn't been reported yet (a rare edge case). You could try to upgrade to 7.9.2 or 7.9.3 and see if that fixes it. Before doing the upgrade though, I strongly suggest taking a snapshot of your deployment so that you can roll back if something goes very wrong.

[Next page](https://discuss.elastic.co/t/add-panel-in-dashboard-edit-view-never-loads/277976.md?page=2)
