@s1nbad Welcome to the forum Peter!
- What version of Node-RED and node.js are you running? (you can get these from the start up log)
- Can you export* and attach a small sample flow showing the issue? That will make it easier for people to help you.
*
In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```
)
```
code goes here
```
You can edit and correct your post by clicking the pencil icon.
See this post for more details - How to share code or flow json