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 crashing VERY often

Hello all, I am using API's for my games and recently I had MAJOR problems with it. The scripts are sometimes not working and I very often have to redo everything, re-install them or just delete some. This is getting frustrating and now it's not even working. It's worse than ever, what is going on and what is this happening? :(  Is there anything I can do? I am not the only one who has these problems but whenever I see a streamer playing on Roll20 it works great for them. What am I doing wrong? 
Are you getting error messages in the API Output Console? If so, post them here and someone can likely help diagnose the issue. If not, please post what happens when the scripts stop working. It's likely you have a single script that is causing an error and removing that one script will clear up your issues, but it's impossible to troubleshoot without more information.
Jarren K. said: Are you getting error messages in the API Output Console? If so, post them here and someone can likely help diagnose the issue. If not, please post what happens when the scripts stop working. It's likely you have a single script that is causing an error and removing that one script will clear up your issues, but it's impossible to troubleshoot without more information. For now it just says "sandbox not running", first time I get this one. The issues with one script bugging everything was solved a while back. They worked fine last week but now its not working at all. 
Do you have your game loaded?  The sandbox won't spin up if the associated game is not running. If you do, try refreshing it, then restart the sandbox.
1612452063

Edited 1612452120
Jarren K. said: Do you have your game loaded?  The sandbox won't spin up if the associated game is not running. If you do, try refreshing it, then restart the sandbox. Thank you Jarren :) It was because of that. The API works now but still, mid game yesterday it stopped working again :)) . We all reloaded, I restarted APi, it says everything was good but only 2 were working. My Aura and Concentration were again broken :(  Edit - now they work :~ ....this is so ....weird 
I've stopped using the Concentration script, as there is definitely an issue with it, likely from an update to Roll20 since the script was created.  It looks like Robin developed the script 4 years ago and hasn't been active on Roll20 for a couple years. Some scripts will have issues from time to time, and the only thing to do is restart the API console.  It's the VTT version of 'Did you try turning it off and on again?" Your players don't need to reload the VTT page to restart the API console -- you as GM just need to do that from the API Scripts page.  You should take a look at CombatMaster - Victor took Robin's ideas from Concentration, Combat Tracker, and Status Info and combined them into Combat Master.  So it's a huge script with a lot of functionality, and a bit of a learning curve, but it will likely work better for you, and it's still being actively worked and improved. Other than that, if you want help troubleshooting a specific issue, you need to explain what's happening in the game, what troubleshooting steps you've taken, show screenshots, and/or post any errors from the API Output Console so someone can help diagnose the issue.