# Problem adding flow to Node-RED flow library

**URL:** <https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112>\
**Category:** General\
**Created:** [20 March 2022 15:33 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112 "2022-03-20T15:33:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [20 March 2022 15:33 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/1 "2022-03-20T15:33:52Z")

</div>

I can't seem to add a flow to the library. I'm getting `413 Request Entity Too Large` from the dev console. The flow I'm attempting to upload can't be posted here due to the character limit, but is available at [Learn JSONata with examples (manually created) · GitHub](https://gist.github.com/HaroldPetersInskipp/922470112d2f950a042320ee2b06b8b1) the file is 97kb

Is there a way around this?

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [20 March 2022 16:50 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/2 "2022-03-20T16:50:01Z")

</div>

Not sure what the issue is, It imported ok for me.

I clicked on raw then copy paste.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 March 2022 17:18 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/3 "2022-03-20T17:18:14Z")

</div>

> [@HaroldPetersInskipp](#):
>
> I can't seem to add a flow to the library.

Can you tell us exactly what you are doing that causes the problem?

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [20 March 2022 17:53 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/4 "2022-03-20T17:53:02Z")

</div>

Heading over to [Library - Node-RED](https://flows.nodered.org/add/flow) and filling out the 4 fields with the required info and clicking create flow.

To clarify, I am not having any problems importing a flow.

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [26 March 2022 14:00 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/5 "2022-03-26T14:00:21Z")

</div>

Am I to assume that this is just a limitation put in place for the Node-RED library? What is the appropriate method for sharing large flows, and making them as accessible as possible?

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [26 March 2022 16:36 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/6 "2022-03-26T16:36:52Z")

</div>

Do I need to break it down into multiple smaller flows? What is the file size limit, I can't find anything in the documentation about this. Or perhaps just have a link to the raw text uploaded elsewhere?

---

<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:** [26 March 2022 17:05 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/7 "2022-03-26T17:05:31Z")

</div>

I can't remember what the specific limit is, but is related to how we upload the flows to GitHub.

The workaround is:

1. Create your flow with a readme and a placeholder flow.
2. Once created, you will find a new gist in your GitHub account with the readme and flow in. You can then update the flow on GitHub.
3. Once updated, go back to the flow library and click the refresh link in the sidebar. That will update with the new content from GitHub.

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [27 March 2022 00:37 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/8 "2022-03-27T00:37:26Z")

</div>

Thank you, this worked perfectly.

---

<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:** [10 April 2022 00:38 UTC](https://discourse.nodered.org/t/problem-adding-flow-to-node-red-flow-library/60112/9 "2022-04-10T00:38:18Z")

</div>

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