Sorry folks, I know I've been down this road before.
I thought it was resolved. No it isn't.
{"payload":false,"topic":"1.144.27.171","_msgid":"cf9a26e019ea159f","device":"UpLink","IP":"1.144.27.171","_event":"node:ca7b2a2f.da6688","error":{"message":"TypeError: Cannot convert undefined or null to object","source":{"id":"d5c54ba3e866e2de","type":"function","name":"My blocker node. V6.3b","count":1}},"_error":"TypeError: Cannot convert undefined or null to object"}
The id with a . is from a flow created on node-red v2.x. the id can be anything you please. You could edit your flows ids and put "i-am-node-1` in it if you want.
(I have since edited the subflow and changed it as per the other thread. Not sure that changed the number or not.)
I think I see what you mean.
The subflow has that id.
But that isn't the same as what we are seeing.
And.... This id is for the subflow. I use it several times in the flow.
Each of those.... All the same id? Yeah, ok. I guess they can.
As do.... Well. No.
If I have several function nodes in a flow: they all get unique ids.
So if I use the same subflow several times each would get a unique id.
I'm still not understanding things.
My version of NR is 3.0.2 on that machine.
I did a search (ctl f got the same requestor) and it isn't/wasn't found.
So I am stumped to how to use the source-id in this scenario.
Nodes inside Subflow instances get random ids auto assigned.
Did you search the string as suggested?
Ps. This is a good reason not to use subflows if you don't need to.
For example, if you are just tiding up your flows and want to make a nice little compact node, you will be far better off using link call. With link call, you can search the note IDs.
This came about when I dug a bit deeper into what was happening when some one cut the string which connects me to the internet. (In Oz we don't have a very good infrastructure, so I call it I say we use tin cans and tight string.)
As it was down for 6 hours I saw a lot of errors - as posted.
The node-id was the one I posted and I couldn't find.
Thinking about it - as there is only 1 function node in the subflow (and a status node) I am being a bit stupid making that a subflow.
I may spend a bit of time replacing the subflow with that one function node.
Ah.... Now I know why I did it this way.
I need to parse different parts of the message to see if they changed.
Not always the payload.
So I am kinda stuck with it.