I'm using simple functions to format data from the things network and to save it locally and to forward it to influx database.
Flow works some time for few days, some time for few hours and I just see that data is not being saved to local file or to influx database.
In syslog I see this error that starts to show up: "TypeError: Cannot read property '0' of null"
After restarting node-red service, flows are reloaded and everything works as expected.
Any ideas what happens and how to fix this issue?