# Msg.string\[14\] Error circular

**URL:** https://discourse.nodered.org/t/msg-string-14-error-circular/13539
**Category:** General
**Created:** [22 July 2019 07:46 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539 "2019-07-22T07:46:22Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)
#### Post date: [22 July 2019 07:46 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/1 "2019-07-22T07:46:22Z")

</div>

Good morning Guys

How can I catch up to understand where is coming from the following error?

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

I tried to disable tab and select only debug current flow but anything changes, I have same error at any tab I'm.

Thanks in advance

---

<div class="post-metadata">

### Author: ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)
#### Post date: [22 July 2019 07:49 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/2 "2019-07-22T07:49:19Z")

</div>

as for the `string[14]` part, it simply means that the type of the message is a `string`, with a length of 14 characters. (which if you count it out, `error-circular` has exactly 14 characters)

The rest of your question is impossible to answer without having seen the flow, or having any information about what you're trying to do.

---

<div class="post-metadata">

### Author: ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)
#### Post date: [22 July 2019 09:45 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/3 "2019-07-22T09:45:06Z")

</div>

The point is that my flow file is huge and I have no idea how I can find this.

Regards

---

<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: [22 July 2019 10:10 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/4 "2019-07-22T10:10:18Z")

</div>

Clicking on the message in the list should highlight the node it came from

---

<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: [22 July 2019 10:53 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/5 "2019-07-22T10:53:46Z")

</div>

my guess is this is coming from a `node.warn()` in a function node (due to yellow bars)

Use node-red find (ctrl+f) and search of `warn` or `node.warn`.

If you have only one of them - bingo  
if you have multiple `node.warn` calls, I suggest you add something like the node-name or a unique text that you can easily find e.g...

`node.warn("my add function node - " + logStr);`

Then you will see that in the debug side-bar and can easily search "my add function node"

---

<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: [22 July 2019 10:56 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/6 "2019-07-22T10:56:32Z")

</div>

Any warn will also be in the console log along with the mode id it came from. So you could then search on that id

---

<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: [22 July 2019 10:58 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/7 "2019-07-22T10:58:34Z")

</div>

I didn't realise that - good shout.

Would it be possible to have the side-bar debug item "clickable" (like the debug node output) to take you to the node in question?

(forgive me if node.warn already does this - I just dont see the node-id link in the side bar)

---

<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: [22 July 2019 11:16 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/8 "2019-07-22T11:16:35Z")

</div>

If it doesn’t have a name then it may be an invisible config node  
Even if you can’t click hovering over the debug will highlight the node if it is in view. But again the console should log the id no matter.

---

<div class="post-metadata">

### Author: ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)
#### Post date: [22 July 2019 11:19 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/9 "2019-07-22T11:19:27Z")

</div>

I can not see the node, it's not giving the ID and if I click on filter I can't also find it.

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

---

<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: [22 July 2019 11:34 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/10 "2019-07-22T11:34:36Z")

</div>

I believe @dceejay said check the **console log** (not the side-bar)

---

<div class="post-metadata">

### Author: ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)
#### Post date: [22 July 2019 12:00 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/11 "2019-07-22T12:00:57Z")

</div>

Does not make a change, is not showing any ID that helps me to locate the issue:

```auto

{ payload: 0,
  topic: 'state',
  socketid: 'MFEyhz7CO0sXJcu4AAAA',
  _msgid: '57ee5e1d.e2c2e' }
{ payload: 0,
  topic: 'state',
  socketid: 'MFEyhz7CO0sXJcu4AAAA',
  _msgid: '57ee5e1d.e2c2e' }
22 Jul 13:58:26 - [warn] error-circular
{ payload: 1,
  topic: 'state',
  socketid: 'MFEyhz7CO0sXJcu4AAAA',
  _msgid: 'f2122de7.b8b59' }
{ payload: 1,
  topic: 'state',
  socketid: 'MFEyhz7CO0sXJcu4AAAA',
  _msgid: 'f2122de7.b8b59' }
{ payload: 0,
  topic: 'state',
  socketid: 'MFEyhz7CO0sXJcu4AAAA',
  _msgid: '1a89c214.5ceefe' }
{ payload: 0,
  topic: 'state',
  socketid: 'MFEyhz7CO0sXJcu4AAAA',
  _msgid: '1a89c214.5ceefe' }
22 Jul 13:59:27 - [warn] error-circular

```

---

<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: [22 July 2019 13:53 UTC](https://discourse.nodered.org/t/msg-string-14-error-circular/13539/12 "2019-07-22T13:53:59Z")

</div>

Post your whole flow, possibly coming from a function node (?)
