HANDLER_INITIALIZING_ERROR
Getting handler 'script.ScriptAction' for module '2' failed: Config parameter 'script' is missing in the configuration of module '2'.
When I click on the “execute an inline script” one more time, it works
This appears on every rule addition, but only once. After (4), no issue anymore.
Saving does not help.
But ideally the script editor opens as soon as you add the script action so usually you would not see this error at all unless you just close the editor again. I think it’s ok like that even if I also stumbled upon this in the past. I think you can argue that the script code is just a mandatory element of a script action so I don’t see why it should not result in an error if the code is missing.
After all the main reason why this happens is in my perception because the resulting yaml is not valid without a value for script.