# Flows stopped due to missing node types: A feature suggestion to help

**URL:** https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995
**Category:** Core Development
**Created:** [30 April 2022 10:56 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995 "2022-04-30T10:56:24Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [30 April 2022 10:56 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/1 "2022-04-30T10:56:24Z")

</div>

Hi all,

A common question on the forum is "help, flows stopped, missing nodes" ([see for yourself](https://discourse.nodered.org/search?q=%22missing%20node%22%20order%3Alatest))

E.g...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e8b441e8f742a38403b682f5306a287d547008ce.png)

While there are difficulties in linking the missing node type to the flows library, it is relatively simple to add a button to reveal these "unknown" nodes. A quick and easy win (IMO)

![chrome_oS5GvQ90P9](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca269399384d48fa3cc7ba2ea57cfbbad13fcc11.gif)

Alternative layout...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/dfa1024c63e4d4716a091d83d918f98d1a7b5d82.png)

Thoughts?

---

<div class="post-metadata">

### Author: ![sammachin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sammachin/32/5121_2.png) [@sammachin](https://discourse.nodered.org/u/sammachin)
#### Post date: [30 April 2022 11:26 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/2 "2022-04-30T11:26:32Z")

</div>

Its a useful fix for a common issue, although it would be better to have a way to search for and install the missing nodes. If you're importing a flow and missing nodes then removing them and then loosing the config may well break the flow.

Although that raises a new problem of trying to link the node-names to the package that you need to install, given that node names aren't unique there's no way from a flow to determine the package thats missing for certain 🤔

---

<div class="post-metadata">

### Author: ![sammachin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sammachin/32/5121_2.png) [@sammachin](https://discourse.nodered.org/u/sammachin)
#### Post date: [30 April 2022 11:27 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/3 "2022-04-30T11:27:28Z")

</div>

also how does this deal with config nodes?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [30 April 2022 11:46 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/4 "2022-04-30T11:46:37Z")

</div>

Using the core search `type:unknown` also reveals missing config nodes too Sam.

![chrome_VJJcO3Mms2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/43e4599edb544db51999eedef576c8fee774e6f9.gif)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [30 April 2022 13:09 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/5 "2022-04-30T13:09:45Z")

</div>

I think adding a 'search for unknown' button to the notification would be a good addition. I prefer that over the inline 'click here to see them' link.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [30 April 2022 14:20 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/6 "2022-04-30T14:20:34Z")

</div>

When you copy someone's snippet, from the forum perhaps, you frequently get left with:

- Missing node types.
- Unused configuration nodes.
- Empty dashboard tabs and groups.

They are all a pain, especially the dashboard elements since they get created when you paste not when you commit.

I'm cetainly in favour of making it easier to tackle them, but hopefully all in the same place/way.  
"Click here to see them" (configuration nodes) is unwieldy.  
So is repeated edit/delete for the dashboard nodes.

---

<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: [30 April 2022 14:59 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/7 "2022-04-30T14:59:45Z")

</div>

From experience, the most common version of this that I see is for the configuration nodes left behind even though you've removed the obvious nodes and then removed the package. So as long as that becomes a more obvious and discoverable search, I'd be happy.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [30 April 2022 17:58 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/8 "2022-04-30T17:58:28Z")

</div>

Would it make sense to add a “show unused” button that opens the config sidebar when we get that error message also ?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [30 April 2022 18:13 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/9 "2022-04-30T18:13:27Z")

</div>

Yeah. Would even it up. Good call.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [30 April 2022 18:23 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/10 "2022-04-30T18:23:52Z")

</div>

A single button that opens the search for all unknown nodes is all that is needed.

If there are two buttons, the user has to pick one to click ... Why force them to make a choice they may not understand?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [30 April 2022 18:28 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/11 "2022-04-30T18:28:14Z")

</div>

I read Dave's comment as the other notification where after you deploy it says there are "unused nodes" and to add a similar button to that notification. Did I misunderstand?

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [30 April 2022 18:35 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/12 "2022-04-30T18:35:10Z")

</div>

Yes. You are correct

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [30 April 2022 18:44 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/13 "2022-04-30T18:44:17Z")

</div>

Sorry, misread read it. Yup, that is a good idea.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [1 May 2022 04:50 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/14 "2022-05-01T04:50:44Z")

</div>

I would even prefer a "remove unused" (an automatic removal during deploy would even be better for me personally, I don't want to be bothered by it - it is an automation platform after all ;))

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 May 2022 14:15 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/15 "2022-05-01T14:15:33Z")

</div>

Hi all,  
Does anyone care to comment on the button wordings please?

### Before deploy notifications...

#### 1. deploying bad import

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/5/8571508736de105606a359c55c50cfbfe194b603.png)

#### 2. deploying misconfigured nodes

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/2/c29134411ef839e0e6e250fcabb3c506a163e88b.png)

### After deploy notifications...

#### 3. stopped due to missing/unknown node types

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/c/8cb3a3a92ca7d83bdfb4a63331386de8788ced96.png)

#### 4. successful deploy but unused config nodes remain

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/b/9be9bb474e19a194ca49512da28a09846a76342d.png)

### Other stuff

- Look at last two screenshots.
  - 
    1. has no primary accent (white) on the close button (this is original condition)

  - 
    1. has primary accent (red) on the close button (this is new - this notification never had a close button)

  - **Which is preferable?**

- When clicking the "Search for xxxxx" should the notification close or remain open?

Thanks all.

---

<div class="post-metadata">

### Author: ![Hypnos](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hypnos/32/7566_2.png) [@Hypnos](https://discourse.nodered.org/u/Hypnos)
#### Post date: [1 May 2022 14:36 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/16 "2022-05-01T14:36:19Z")

</div>

If the message about unused configuration nodes gets a close button, that would be great. In my test system I have regularly unused configuration nodes and the message is annoying until it disappears.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 May 2022 14:39 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/17 "2022-05-01T14:39:34Z")

</div>

> [@Hypnos](#):
>
> In my test system I have regularly unused configuration nodes and the message is annoying until it disappears.

You do know you can simply click the notification and it will disappear right? 🤣

---

<div class="post-metadata">

### Author: ![tve](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tve/32/59475_2.png) [@tve](https://discourse.nodered.org/u/tve)
#### Post date: [1 May 2022 15:32 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/18 "2022-05-01T15:32:07Z")

</div>

Is the "search for invalid nodes" a new feature to be added? Or is that available somewhere today?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 May 2022 15:42 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/19 "2022-05-01T15:42:48Z")

</div>

> [@tve](#):
>
> Is the "search for invalid nodes" a new feature to be added

It is existing. At this time (v2.2.2) you need to type in ...

- `is:invalid `  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/979cbc6dac36e11d53a1732692856a2653d12864.png)

In V3, this is more accessable via the search bar...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5bf230ac766602d7355c8b0393d15e09202a4d35.png)

* * *

update.

@tve as i know you are developing nodes, perhaps you are wanting to know how to do this programmatically? It is executed via `RED.actions.invoke("core:search", "type:unknown");`

Others include...

```auto
RED.actions.invoke("core:search", "type:unknown");
RED.actions.invoke("core:search","is:invalid");
RED.actions.invoke("core:search","is:config");
RED.actions.invoke("core:search","is:config is:unused");

```

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [1 May 2022 16:21 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995/20 "2022-05-01T16:21:46Z")

</div>

4 does still timeout and continue though ? (Which maybe why it didn't need a colour accent) - And can you still click anywhere else to close ?

[Next page](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995.md?page=2)
