# Dashboard 2 Gauge widget shows node is invalid, but

**URL:** <https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [3 July 2024 21:18 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244 "2024-07-03T21:18:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jblack](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jblack](https://discourse.nodered.org/u/jblack)\
**Post date:** [3 July 2024 21:18 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/1 "2024-07-03T21:18:26Z")

</div>

Using dashboard 2 the node shows "invalid configuration" in the editor after what I believe to be a valid configuration, and produces a warning when deployed. The gauge preforms as expected in the UI. What am I missing?

Here is the config:

```auto
[
   {
       "id": "aaccc6694f2b5ec2",
       "type": "ui-gauge",
       "z": "11955e3cf0059472",
       "name": "Temperature",
       "group": "fe8855cd4ee11c70",
       "order": 1,
       "width": "2",
       "height": "2",
       "gtype": "gauge-half",
       "gstyle": "needle",
       "title": "Temperature",
       "units": "Deg F",
       "icon": "",
       "prefix": "",
       "suffix": "",
       "segments": [
           {
               "from": "50",
               "color": "#5cd65c"
           },
           {
               "from": "85",
               "color": "#ffc800"
           },
           {
               "from": "100",
               "color": "#ea5353"
           }
       ],
       "min": "50",
       "max": "100",
       "sizeThickness": "10",
       "sizeGap": 4,
       "sizeKeyThickness": 8,
       "styleRounded": true,
       "styleGlow": false,
       "className": "",
       "x": 970,
       "y": 220,
       "wires": []
   },
   {
       "id": "fe8855cd4ee11c70",
       "type": "ui-group",
       "name": "Foyer",
       "page": "a55e1258ae64ae6c",
       "width": "6",
       "height": "1",
       "order": 1,
       "showTitle": true,
       "className": "",
       "visible": "true",
       "disabled": "false"
   },
   {
       "id": "a55e1258ae64ae6c",
       "type": "ui-page",
       "name": "Page 2",
       "ui": "0ad92617acc9f9fa",
       "path": "/page2",
       "icon": "home",
       "layout": "grid",
       "theme": "",
       "order": 2,
       "className": "",
       "visible": true,
       "disabled": false
   },
   {
       "id": "0ad92617acc9f9fa",
       "type": "ui-base",
       "name": "My Dashboard",
       "path": "/dashboard",
       "includeClientData": true,
       "acceptsClientConfig": [
           "ui-notification",
           "ui-control",
           "ui-file-input"
       ],
       "showPathInSidebar": false,
       "showPageTitle": true,
       "navigationStyle": "default",
       "titleBarStyle": "default"
   }
]

```

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [4 July 2024 05:32 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/2 "2024-07-04T05:32:36Z")

</div>

Can you share a screenshot from the Editor please? And of the error message itself?

Config seems sensible

---

<div class="post-metadata">

**Author:** ![jblack](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jblack](https://discourse.nodered.org/u/jblack)\
**Post date:** [4 July 2024 12:51 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/3 "2024-07-04T12:51:12Z")

</div>

![Screenshot 2024-07-04 at 07.48.52](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/a/0a904c08719f451b64b122fe33af9f08644b1301.png)

Thank You!

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [4 July 2024 13:03 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/4 "2024-07-04T13:03:24Z")

</div>

Okay, sometimes this happens if you've imported a flow, and we get a conflict. I suspect the _actual_ problem is in the "Page 2" config node (you can click "Edit" next to the "Page 2" entry in the Dashboard 2.0 sidebar), but its trickling down to anything else on that page too

---

<div class="post-metadata">

**Author:** ![jblack](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jblack](https://discourse.nodered.org/u/jblack)\
**Post date:** [4 July 2024 13:14 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/5 "2024-07-04T13:14:21Z")

</div>

Thank you Joe!  
I made an edit to the page 2 config by changing the theme and the configuration now works normally. As a note I did import the flow, deleted the old Dashboard 1 UI nodes and then added the new nodes into the flow. This was a test before I migrated my app to D2 now I know where to look... Maybe I should look at your converter as an option.

Thanks Again!  
Jim

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [4 July 2024 14:02 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/6 "2024-07-04T14:02:06Z")

</div>

Thanks for the update Jim. For what it's worth, you can use D1.0/2.0 side-by-side as they deploy to different URLs.

The migration service is really useful as it'll auto setup all of your pages, groups, etc. from your existing Dashboards. Otherwise, it's quite a mundane task

---

<div class="post-metadata">

**Author:** ![jblack](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jblack](https://discourse.nodered.org/u/jblack)\
**Post date:** [4 July 2024 14:12 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/7 "2024-07-04T14:12:33Z")

</div>

Thanks for the tip. I've been building this home automation app for four years and it has become quite large...

Cheers!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 July 2024 16:46 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/8 "2024-07-04T16:46:08Z")

</div>

> [@jblack](#):
>
> four years

Wait until you've been going for over 10 years. 😉 🤣

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 July 2024 16:46 UTC](https://discourse.nodered.org/t/dashboard-2-gauge-widget-shows-node-is-invalid-but/89244/9 "2024-07-18T16:46:14Z")

</div>

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