Pushover reference error

A error occures when running the script to send a pushover message.

sendPushoverMessage(pushoverBuilder(“test message”))

[ERROR] [internal.handler.ScriptActionHandler] - Script execution failed: ReferenceError: “sendPushoverMessage” is not defined in at line number 1

I defined all credentials in the pushover.cfg and restarted openhab several times

Can you show the contents of your whole rule file? [...] line number 1 seems a bit suspicious…

This is the complete rule

I’m not sure that UI created rules support add-on actions in OH2.