# Error while loading charts in dashboard

**URL:** <https://hub.mender.io/t/error-while-loading-charts-in-dashboard/8319>\
**Category:** General Discussions\
**Created:** [July 10, 2026, 3:37pm UTC](https://hub.mender.io/t/error-while-loading-charts-in-dashboard/8319 "2026-07-10T15:37:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrian.dusinski](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@adrian.dusinski](https://hub.mender.io/u/adrian.dusinski)\
**Post date:** [July 10, 2026, 3:37pm UTC](https://hub.mender.io/t/error-while-loading-charts-in-dashboard/8319/1 "2026-07-10T15:37:35Z")

</div>

Try refreshing the page, or look below for more information on the error that occured.

> **TypeError: Cannot read properties of undefined (reading 'length') at qZ (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:264:7209) at div (\<anonymous\>) at q8 (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:264:11177) at div (\<anonymous\>) at div (\<anonymous\>) at https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:424:20731 at k (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:27726) at u (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:2332) at eRQ (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:424:43191) at k (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:27726) at h (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:3447) at eR0 (\<anonymous\>) at pd (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:28:86221) at div (\<anonymous\>) at div (\<anonymous\>) at A (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:572:44179) at A (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:572:44810) at s9 (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:1:246806) at lo (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:1:247315) at ll (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:1:248280) at lw (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:28:483) at eNb (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:426:38809) at p (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:2524) at M (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:10870) at pd (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:28:86221) at lD (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:28:1595) at K (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:586:456) at eNx (https://hosted.mender.io/ui/main.min.js?f1a0232642e00048:426:50268)**
>

I connected the device to the server, changed some options in the chart settings and it stopped working.

Thanks

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [July 11, 2026, 11:58am UTC](https://hub.mender.io/t/error-while-loading-charts-in-dashboard/8319/2 "2026-07-11T11:58:13Z")

</div>

Hi @adrian.dusinski,

Thanks for reaching out! I’m in touch with the devs who are preparing a fix, and there are two workarounds for now as far as I can see.

1. adding all your devices to a group, as the bug seems to be triggered by the “ungrouped” selection.
2. removing the widgets, you can do this via your browser console

```auto
const { token } = JSON.parse(localStorage.getItem('JWT'));
const url = '/api/management/v1/useradm/settings/me';
const res = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const etag = res.headers.get('etag');
const settings = await res.json();
settings.reports = (settings.reports || []).filter(r => r.group !== '*|=ungrouped=|*');
await fetch(url, {
    method: 'POST',
    headers: { Authorization: `Bearer ${token}`, 'Content-Type': 'application/json', ...(etag ? { 'If-Match': etag } : {}) },
    body: JSON.stringify(settings)
  }).then(r => console.log(r.ok ? 'fixed — reload the UI' : `failed: ${r.status}`));

```

This should remove the crashing widget.

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![adrian.dusinski](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@adrian.dusinski](https://hub.mender.io/u/adrian.dusinski)\
**Post date:** [July 13, 2026, 7:51am UTC](https://hub.mender.io/t/error-while-loading-charts-in-dashboard/8319/3 "2026-07-13T07:51:48Z")

</div>

I did both option and it helps.

Thanks,

Adrian
