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 Not working on ONE Campaign

1583442612

Edited 1583442775
Hello, I am a Pro Subscriber and have a pretty good knowledge of APIs and all that stuff. I recently started a new campaign using the D&D 5e System. I tried adding API scripts to the game as I usually do, however after getting into the game I noticed that none of them work. I went into the settings to see what the problem was expecting that it will be one of the scripts catching. The thing is that there is simply nothing in the output console and pressing the restart button does nothing at all. I am not sure whats going on here and would like some help.. The API system works completely fine in all of my other campaigns.
Try making a copy of the game. There have been reports where something with that particular instance of the game prevents the API from running. Copying the game often works.
Rabulias said: Try making a copy of the game. There have been reports where something with that particular instance of the game prevents the API from running. Copying the game often works. Hey! Thank you! That totally worked! What would be the reason for that and how do I prevent that from happening in the future? If you know
No official answer from Roll20 has been given as far as I know. My personal guess/theory is there is a problem with the shard that your game is located on. Copying a game can get you on another shard. If you want to check this, launch your game, press F12 to open the console, type FIREBASE_ROOT and press Enter . You'll get something like: <a href="https://roll20-3.firebaseio.com/" rel="nofollow">https://roll20-3.firebaseio.com/</a> The -3 indicates this game is on Shard 3. See <a href="http://status.roll20.net/" rel="nofollow">http://status.roll20.net/</a> for a general up/down status of the shards. If it's not something on the shard, my next guess is that something went wonky in the game's backend setup. Copying it gives the system another chance to get it right.
1583548577
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I did not know that. That might qualify as a Stupid Trick. It's certainly good to check when having an issue.