After updating to iOS 13 (and 13.1), I’ve been seeing lots of this error. I’m on latest versions of everything. I’m using Script.complete() and the new Shortcuts args introduced in the newest version.
The error halts the shortcut. I thought it was some sort of issue with memory, but I’ve tried a bunch of different permutations — running a shortcut that only runs a script and nothing else, shortcuts that have nested shortcuts that call scripts, running the Scriptable script in the app and not — all result in the error.
It’s also a bit random, but it seems to work correctly the first time, but not immediately after. But also sometimes occurs on the first run.
Just wondering if anyone is seeing something similar?