# \[error\] \[ui\_template:um\] RangeError: Maximum call stack size exceeded

**URL:** <https://discourse.nodered.org/t/error-ui-template-um-rangeerror-maximum-call-stack-size-exceeded/3226>\
**Category:** Dashboard\
**Created:** [17 September 2018 20:44 UTC](https://discourse.nodered.org/t/error-ui-template-um-rangeerror-maximum-call-stack-size-exceeded/3226 "2018-09-17T20:44:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [17 September 2018 20:44 UTC](https://discourse.nodered.org/t/error-ui-template-um-rangeerror-maximum-call-stack-size-exceeded/3226/1 "2018-09-17T20:44:42Z")

</div>

Hello All

I have been playing with the ui-template, and now it got stuck.

I might have created some loop and now i got this error

_[error] [ui\_template:um] RangeError: Maximum call stack size exceeded_

The issue here is that the node-red got stuck and I cannot edit this flow to try to correct it,

Any suggestions ;

1- How to get rode red working in order to stop that flow  
2- Any configuration suggestion to increase this stack size. ( considering I eliminate the loop)

Thank you all  
JLG

---

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [18 September 2018 00:15 UTC](https://discourse.nodered.org/t/error-ui-template-um-rangeerror-maximum-call-stack-size-exceeded/3226/2 "2018-09-18T00:15:39Z")

</div>

This can happen when you pass the incoming msg through and it loops back into the input port. You will have to edit the flow file by hand, find the `tab` node that contains that `ui_template` node, and change the "disabled" property to true:

```auto
{
    "id": "acd0e374.cec54",
    "type": "tab",
    "label": "Flow 2",
    "disabled": true,
    "info": ""
},

```

Then when you restart node-red, that flow should be disabled, which allows you to fix the node properties. Double-click the tab and re-enable the the flow, and then deploy...

---

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [18 September 2018 10:52 UTC](https://discourse.nodered.org/t/error-ui-template-um-rangeerror-maximum-call-stack-size-exceeded/3226/3 "2018-09-18T10:52:23Z")

</div>

Hello Shrickus

Thank you it workded.....

Steve Rickus [nodered@discoursemail.com](mailto:nodered@discoursemail.com) escreveu no dia terça, 18/09/2018 à(s) 01:25:
