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

All APIs just...stopped working in Game. No clue why.

So, I've been running a game here, two games actually since Roll20 started up.  I write my own character sheets, one of which was 50,000 lines long at one time.  (Though, what I really needed to do for that game, a large virtual LARP with over 100 players, was to take the dynamic resource system into another format, as Roll20 isn't really a database, as much as I tried to make it act like o ne.  So, my WoD vLARP doesn't have a 50K line character sheet any more.  It's only like 15L lines now.) At any rate, two weeks ago, on my more simple 3.5 D&D game, the APIs just stopped working.  All of them.  Most noticeable was Powercards, as my Character Sheets use Powercards to output rolls.  But, none of them work for any of my players or myself.  Everything just stopped. Powercards, Tokenmod, ChatSetAttr, Duplicate character and token.  None of them work.  I tried the stuff that any reasonable person would try to fix them.  I cleared the Cache, turned all of the APIs off and turned them back on one at a time in different orders.  Nothing.   The console doesn't spin up.  It sits at "Loading 0 translation strings to worker..." forever.   So, after 10 years of playing and paying, I put in my first bug report to Roll20.  Days pass and nothing.  We skipped last weeks' game because nothing works.  Finally, I see an e-mail that said something like, "We're going to pass this on to someone.  Did you try turning if off and on again?"  I responded that I did indeed try turning it off and on again.  I kind of get the impression that I'm on my own here:)  Such is life.   So, I've been solving issues with Roll20 for a decade, but I'm kind of stumped.  I'm going to try cloning the game now and see if that fixes it.  Presumably, Power Cards are still working for everyone else, or probably would have heard something by now.  They are working great in my other game, and that game uses the exact same API set up and with WAY more players and activity.  Well, anyways, off to try and fix it.  Any advice is appreciated.  Yes, I've tried closing Chrome and opening it again.  Pretty sure that Roll20's API console doesn't run on my computer, though.  If it does, I'm intrigued and wish to know more.  Thanks for anything else I can try! Regards,  Kerry 
Update, the game cannot be copied.  I receive an error when I try that says, "Game's Data could not be retrieved."  The plot thickens. 
1633803682
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This definitely sounds like it needs dev help. If you have a contact to ping on your help center request, that would be one avenue. I'll do what I can to direct attention here.
I thought as much!  Thank you for that!
Wanted to follow up.  Roll20 was able to fix the problem.  The issue is that Rolls in my game are complicated, as one would expect in a 3.5 game.  And, apparently, the chat log bogs down when complicated rolls are stored in it, especially in the PowerCard format.  At some point, the chat log just can't take anymore, and no more PowerCards can be added to it.  They were able to solve the issue by permanently deleting the chat archive, which is totally fine for me, as I only need to see the rolls being made right now.  Our actual chat takes place in Discord.  At any rate, if anyone else has this problem, this is a potential cause.  And, though I had attempted to delete the chat log, that couldn't happen, because all of the rolls stored in it were too mathematically complicated for the system to delete.  It looked like they were gone but, in fact, they just couldn't be displayed.  Thus, if you play a game where a lot of variables are added to the rolls and are experiencing the same issue, this is a possible cause.   (And, the only thing I can think is that every time the database is added to or deleted, the entire database and all of the math in it and all of the graphics in it must be processed at once, which, if that's the case, there is absolutely going to become a point where the processing and storage allocation becomes too much to process.)