I have an image that I use to create several devices. All I do is update node-RED with json version that corresponds to each one. Well, from time to time, with the same image, I get this error and I don't know what to attribute it to, if it's all identical. Any ideas?
What is in the node generating the error? Click on the node id above the message and it should take you there.
The problem is that I have no information. It appears just after loading json file, before deploying
Where do you see it? Show us the full output where you see the message.
Also explain exactly what that means and how you do it.
You can get an error like that when you expect a payload to contain a property such as payload.box.length but for some reason payload.box does not exist.
This happens a lot with API calls when you receive an error message instead of the expected json.
All devices run the same node-red flow so I have to personalize with their little differences (serial number, size and other parameters)
Also, I`m improving the flow continuously.
I have an image with the distro and node installed so, when I have to "build" another device, I write the image, update, deploy the updated flow and that's all.
Well, from time to time, one device shows that error when loading the json file. I have just found a walkaround: deploy and older version of my flow, and then, the last one.
I will paste a picture when it happens again but there's no info about the problematic node; only what's said on the title of the topic.
As I asked, what do you mean by 'loading the json file'?
That is
After "Import" button and "Import copy" button instead of a message with information about imported nodes and flows I get that warning.
OK, so say to import the flow, it says there are duplicate nodes and you select Import Copy and then you see the error. That is odd.
Can you tell us more about the system please? What h/w and OS are you running on and how did you install node-red. Are you using Docker?
Also show us the node red startup log that you see when starting node-red in a command window please. It should start with Welcome to Node Red. Copy/paste please, not screenshot. That will tell us a lot about your system.
All devices are RaspberryPi 4. I really do not start node because de image I write it already has node 4.0.1 installed and running. As I said, I only update the system (the actual image has around two months) and the flow. Anyway, when it happens to my again (I have three devices to prepare today), I will paste the image but I'm not sure it will give more information than already given.
It would be useful if you could restart node-red so that we can see the startup.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.