An automation engineer is developing a Junos event script to automatically disable an interface upon receiving a specific BGP notification log message. The script is written in Python and uses the `jcs.invoke()` function to execute the `set interfaces disable` command. During testing, the event policy triggers the script correctly, but the interface is not disabled. What is the most likely cause of this issue?