# Node red websocket throwing an error "Missing node type bigsubflow"

**URL:** <https://discourse.nodered.org/t/node-red-websocket-throwing-an-error-missing-node-type-bigsubflow/17880>\
**Category:** Core Development\
**Created:** [13 November 2019 09:45 UTC](https://discourse.nodered.org/t/node-red-websocket-throwing-an-error-missing-node-type-bigsubflow/17880 "2019-11-13T09:45:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surendra](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Surendra](https://discourse.nodered.org/u/Surendra)\
**Post date:** [13 November 2019 09:45 UTC](https://discourse.nodered.org/t/node-red-websocket-throwing-an-error-missing-node-type-bigsubflow/17880/1 "2019-11-13T09:45:42Z")

</div>

I am trying to replicate subflow functionality as it is, I have made few code changes for that. I have created separate type as a "bigsubflow".  
I am able to create bigsubflow but while saving it's throwing an error "Flow stopped due to missing node types : bigsubflow"

if anyone is aware about that please help  
Attaching error screenshot

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

---

<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:** [13 November 2019 10:03 UTC](https://discourse.nodered.org/t/node-red-websocket-throwing-an-error-missing-node-type-bigsubflow/17880/2 "2019-11-13T10:03:11Z")

</div>

Hi - that means the runtime doesn't know anything about the node type `bigsubflow`.

Without know what changes you've made or how you've tried to copy the subflow functionality its very hard to give you any more advice.

The subflow functionality is not something you can easily replicate in your own node module - a lot of the logic is hardcoded in the core of the runtime.

Can I ask why you are trying to do this? What functionality are you trying to add?

---

<div class="post-metadata">

**Author:** ![Surendra](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@Surendra](https://discourse.nodered.org/u/Surendra)\
**Post date:** [13 November 2019 12:21 UTC](https://discourse.nodered.org/t/node-red-websocket-throwing-an-error-missing-node-type-bigsubflow/17880/3 "2019-11-13T12:21:45Z")

</div>

I'm trying to develop separate subflow node, which will not be rendered based on a condition. For instance the inbuilt subflow will be available to one user type but not others, others might have access to the custom subflow-node. Also these custom subflows won't be available to the users who don't have access to this custom node.

What are your thoughts?

---

<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:** [13 November 2019 12:28 UTC](https://discourse.nodered.org/t/node-red-websocket-throwing-an-error-missing-node-type-bigsubflow/17880/4 "2019-11-13T12:28:17Z")

</div>

> [@Surendra](#):
>
> What are your thoughts?

Not sure I fully follow what you mean.

There is no support in the editor for different users having different views.

What is special about your custom subflow-node? What functionality does it provide that the built-in subflow doesn't do? Why do you need a different type of subflow?
