Getting an odd error in my API console. The error is: Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info... For reference, the error message generated was: Error: Firebase.update failed: First argument contains a function in property 'playerpageid.doSave' with contents: function () {
var length = Math.max(arguments.length - startIndex, 0),
rest = Array(length),
index = 0;
for (; index < length; index++) {
rest[index] = arguments[index + startIndex];
}
switch (startIndex) {
case 0: return func.call(this, rest);
case 1: return func.call(this, arguments[0], rest);
case 2: return func.call(this, arguments[0], arguments[1], rest);
}
var args = Array(startIndex + 1);
for (index = 0; index < startIndex; index++) {
args[index] = arguments[index];
}
args[startIndex] = rest;
return func.apply(this, args);
}
Error: Firebase.update failed: First argument contains a function in property 'playerpageid.doSave' with contents: function () {
var length = Math.max(arguments.length - startIndex, 0),
rest = Array(length),
index = 0;
for (; index < length; index++) {
rest[index] = arguments[index + startIndex];
}
switch (startIndex) {
case 0: return func.call(this, rest);
case 1: return func.call(this, arguments[0], rest);
case 2: return func.call(this, arguments[0], arguments[1], rest);
}
var args = Array(startIndex + 1);
for (index = 0; index < startIndex; index++) {
args[index] = arguments[index];
}
args[startIndex] = rest;
return func.apply(this, args);
}
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:107)
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207)
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207)
at Aa (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462)
at Ea (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:403)
at J.update (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:318)
at TrackedObj._doSave (/home/node/d20-api-server/api.js:853:27)
at later (/home/node/d20-api-server/node_modules/underscore/underscore.js:892:31)
at Timeout._onTimeout (/home/node/d20-api-server/node_modules/underscore/underscore.js:829:19)
at ontimeout (timers.js:386:14) The function displayed as being the problem is not from the script I'm working on, and I have no other scripts running. It appears to be related to moving the player ribbon via API script. Game in question: <a href="https://app.roll20.net/campaigns/details/5466163/plaguestone-sciptorium" rel="nofollow">https://app.roll20.net/campaigns/details/5466163/plaguestone-sciptorium</a> EDIT: and I'm an idiot. The above was due to a stupid code screw up of mine. Thread can be closed.