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 Oddities

Hi everyone, had my first session in a new campaign last night. Partway through the game, some things started acting wonky. Group initiative wouldn’t run, and something wasn’t behaving right with token action maker. I logged out and logged back in again, no change. I looked at the API screen though, and it just said “roll 20 environment web“. No error messages, but also not all of the logging that occurs when the sandbox first starts up. I tried restarting everything, and that seemed to work, but then it went back to the same state as before. at no point did I get any error message in the API screen. Any ideas what might be going on, and how I can better troubleshoot before the next session?
I often need to restart the API sandbox mid-game, or sometimes even when I'm just working in the game with no one else logged in. I keep a separate browser tab open and logged into Roll20 just for that reason.
1662222054
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Yeah, "silent crashes" where there is no error message have been a problem now for what seems like a few years. You can use a script like API Heartbeat to help track failures. It puts a button on your macro bar that the API continually updates. If the little spinner or clock face in the bar stops animating, you've had a crash.
Will give it a try, thanks!