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

TableExport Broken since update

Since the new update I'm getting the below error when using the TableExport API: our 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: TypeError: Cannot read properties of undefined (reading 'replace') TypeError: Cannot read properties of undefined (reading 'replace') at apiscript.js:2079:22 at handleInput (apiscript.js:2130:15) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:169:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:169:1), <anonymous>:70:8) at /home/node/d20-api-server/api.js:1763:12 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) at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489) at Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425)
1724413909
timmaugh
Pro
API Scripter
That script doesn't show an update for the last 5 years. Whatever It is, I'm sure Aaron will get to the bottom of it. Can you share the steps you took when you got this error?  Also, if it is an emergency, you can look at the TableToTable script. It also lets you get information out of a rollable table quickly.
Out of interest what beta/new features have you enabled?
Boli said: Out of interest what beta/new features have you enabled? I actually didn't want to enable the new features yet. I logged in and they were all already enabled. I had tested them previously, but then turned them off for resource conservation. It doesn't seem possible any longer
timmaugh said: That script doesn't show an update for the last 5 years. Whatever It is, I'm sure Aaron will get to the bottom of it. Can you share the steps you took when you got this error?  Also, if it is an emergency, you can look at the TableToTable script. It also lets you get information out of a rollable table quickly. It has been working the entire time, until the new beta features were put in
Hey Wesley, Can you confirm if this fails for all your tables? Is it one specific table? I tested in a couple of my games, I was able to export a table in a regular game and import that table successfully in a Jumpgate game. In neither of those did I get an error like you did. Can you post the command you get when you get that error? Can you test it on another table or in a test game and see if you get an error? I just wasn't able to reproduce this error so it might be helpful to get more information to help figure this error out.
1724516731
The Aaron
Roll20 Production Team
API Scripter
It would be helpful if you could share the command you are running that is resulting in the error.
I figured it out, I think. It's something about the  way LibreOffice handles Concatenate as opposed to Google Sheets. Libre office doesn't put spaces in, and Sheets does. Thanks for all the help. Gave me a different way to analyze it. The Aaron said: It would be helpful if you could share the command you are running that is resulting in the error. Joshua N. said: Hey Wesley, Can you confirm if this fails for all your tables? Is it one specific table? I tested in a couple of my games, I was able to export a table in a regular game and import that table successfully in a Jumpgate game. In neither of those did I get an error like you did. Can you post the command you get when you get that error? Can you test it on another table or in a test game and see if you get an error? I just wasn't able to reproduce this error so it might be helpful to get more information to help figure this error out.