Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

API continually crashing

1638178577

Edited 1638178636
Fad
Pro
I am getting the following error in all my games. I have been running the same API's for ages without issues but for the last 2 weeks this has been happening. I have tried to sort it out but I am not a programmer. I have disabled various scripts to try to isolate the issue but cant seem to find it. See below for error and the list of scripts I run. Any help would be greatly appreciated. Thanks in advance. Script Library G  Torch G  D&D 5E Dungeon Master Tools G  5th Edition OGL by Roll20 Companion G  Combat Master G  5E Resting in Style G  WildHelpers G  D&D 5E - WildShape G  Token Action Maker G  GroupCheck applydamage.js G  GroupInitiative G  TokenMod G  ChatSetAttr G  Ammo New Script 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 Script Library, you might find help in the Community API Forum. For reference, the error message generated was:  Error: Firebase.update failed: First argument contains NaN in property 'rotation' Error: Firebase.update failed: First argument contains NaN in property 'rotation' at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186) 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:905:27) at Timeout.later [as _onTimeout] (/home/node/d20-api-server/node_modules/underscore/underscore-umd.js:1153:39) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)
1638188492
Andrew R.
Pro
Sheet Author
Look in the Combat Master 2.0 thread in the API forum for the fix for your problem.  You’ll have to install the latest version from the Git repository. The 1-Click version has a bug.