i have a script step in an automation that i have been using for many weeks. it has been working as expected- with many runs per day. i've been rebuilding some automations, so i've been running them a lot as i test them.
just now, the automation stalled out and finally failed:
When i tried to test the script, i received this error:
ERROR
There was an unexpected error while executing your script.
the script in question is: