How to identify a node by its ID

Hi! I have an error on the debug window and I can't understand which node created it. For example:

14/6/2020, 23:12:12node: 4495dab5.337c9c
msg : string[36]
"Error stopping node: Close timed out"

When I open any node I can't see its ID ( 4495dab5.337c9c) and I don't know where can I find it. May I please suggest 2 features? Let's make the things easier ))
Please make visible the ID number when we open the proprieties window on a specific module
Please add to the ID the name of the module, something like this:

14/6/2020, 23:12:12node: 4495dab5.337c9c - Telegram receiver
msg : string[36]
"Error stopping node: Close timed out"

Thank you a lot

You can cut/paste that id into the search field (ctrl-f) and it should find it - then clicking on the result will highlight the node in the editor.

As well as use the search, you can also just click on the node: 4495... bit in the Debug message and it will take you to the node.

thank you, yes clicking on message it displays the node, also pressng the "i" will display it. Anyway introducing the node name on the debug window will make it more intuitive, thanks

If you give the node a name it will indeed show it in the debug.

I'm experiencing this problem, actually I click on the debug message an no nodes on the flow are put on evidence, is it possibile there are hided nodes? How to understand what is that?
Thanks

Do you have subflows? If the error is coming from a node inside a subflow then it can be slight trickier to track down.

I try to give all nodes in subflows names so that it is easier to track this sort of problem down.

Honestly I've never seen a subflow )) and I don't know how to create it. Chances are the modules on the flow involve other modules which are hided in background?
Thanks for your kind support

When you click on the node id does it change the visible tab? Obviously do it once, then change the tab and do it again. If it does change the tab then the node is on there somewhere. It should be highlighted. If you are not using a recent version of node-red then, if I remember correctly, it is possible that the node may be off the edge of the screen.

I've created you 2 screenshots, in the first is possible to see the node visible, named Prova (but on debug there isn't the name, only node ID), on the second no node are selected, probably it's something related with Telegram node.


And have you tried searching for the id 4495... using the Ctrl-F search option?

yes it's the telegram bot, the icon is the classic gear for the settings and it's actually the window which appears when I need to configure the bot, it's a sub menu on the Telegram nodes. Not a visible node, but now I got how to understand what it is.
You probably just need to add the node name after the ID and it will be suddenly clear, thank you!
PS: yesterday I've updated nodes js and Node red to the latest version

If you have given the node a name, then we do show the name.

Is there some info on how to track the node down if it's inside a subflow? I've had this a couple of times and I want to know where the subflow is called from, not just which node it was inside the subflow.

By not-visible, do you mean it’s a configuration node? One that holds properties/connections for a visible node in your flow, but is not directly visible in the flow itself?

The main recommendation is to give your node's names so you can more readily identify them.

We made some changes to this in one of the 1.0.x releases, and if my memory is correct, if it is a node inside a subflow, then clicking on the id should take you to the subflow-instance node that contains the node in question. So that, combined with giving your nodes names, ought to help.

For more persistent issues, you can enable trace level logging in the runtime and you'll see a complete log of all the node ids inside subflows - a bit more leg work needed, but the information is there.

yes it is a configuration node, not visible in the list, I can see it only if I search the ID.
THis node has a name, the bot name I used, and description under it "telegram bot", but none of these infos are displayed in debug.
ALso the other name Prova, which has originally name "Telegram Receiver" and after rename by me for a check, has no name reported on the debug, you can see it in the pictures

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