This is the error I now get within 5 minutes of a combat starting: All of my scripts are from the Mod library.
Your scripts are currently disabled due to an error that was
detected. Please make appropriate changes to your script's code and
click the "Save Script" button. We will then attempt to start running
the scripts again. More info... If this script was installed from the Mod Library, you might find help in the Community API Forum.
For reference, the error message generated was: SyntaxError: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at apiscript.js:8007:30
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:168:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:168:1), <anonymous>:70:8)
at TrackedObj.set (/home/node/d20-api-server/api.js:1099:14)
at updateLocalCache (/home/node/d20-api-server/api.js:1442:18)
at /home/node/d20-api-server/api.js:1736:7
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)