Hello,
I have the same error, and by putting the script in the Client Event Script of a Tag Change variety it start to work perfectly.
The thing is that I want the script to run always, even if the client is not open.
Calling the script from the Client Event Script would only run the script when the client is open, is that correct?