I’ve had a similar issue as well. I wonder if it’s related to the bug where if you try and run an action like an LED notifications on a blue switch in an automation solo it errors but if you run the full automation it works. Since I assume node red is using the same function that may be the issue. I’ve sadly swapped to HA automatons for just the LED function of my automations with the use of a button helper that I trigger in node red.
Would love a solution!
You can see someone running into this issue here in this thread and they talk about running the full automation vs the run task: