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 sandbox error

Lately, I've been getting the following error message in the API sandbox on startup.  A restart of the sandbox makes it go away, and everything functions as normal, but I'm wondering if anyone knows why it's started popping up. TypeError: level.get(...).trim is not a function TypeError: level.get(...).trim is not a function at levelUP (apiscript.js:612:42) at RegisterEventHandlers.on (apiscript.js:839:17) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:70:8) at TrackedObj.set (/home/node/d20-api-server/api.js:901:14) at updateLocalCache (/home/node/d20-api-server/api.js:1194:18) at /home/node/d20-api-server/api.js:1378:11 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)
1520514158

Edited 1520515199
This is caused by a bug in the Easy Experience API script. I got the same error, but had no time to look into it. I will put my findings in the API subforum so Scott C can take a look Edit: Mixed up the two API grandmasters The Aaron and Scott C.