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 .
×

API Refusing to Load for Specific Campaign

Just noticed an issue with all my API scripts not loading and being unable to restart the API sandbox. I have tried a different campaign and it works fine. I have tried getting every player to leave the game along with fully removing all scripts attached to the campaign. I get this error in my Firefox console: TypeError: snap.val(...) is null 5611779 :1285:57 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; <a href="https://app.roll20.net/campaigns/scripts/5611779" rel="nofollow">https://app.roll20.net/campaigns/scripts/5611779</a> : 1285 &nbsp;&nbsp;&nbsp;&nbsp; yd <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 85 &nbsp;&nbsp;&nbsp;&nbsp; fc <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 39 &nbsp;&nbsp;&nbsp;&nbsp; yd <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 85 &nbsp;&nbsp;&nbsp;&nbsp; Eb <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 85 &nbsp;&nbsp;&nbsp;&nbsp; Eb <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 86 &nbsp;&nbsp;&nbsp;&nbsp; Wd <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 103 &nbsp;&nbsp;&nbsp;&nbsp; Ec <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 51 &nbsp;&nbsp;&nbsp;&nbsp; Wd <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 103 &nbsp;&nbsp;&nbsp;&nbsp; Sa <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 20 &nbsp;&nbsp;&nbsp;&nbsp; Wd <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 103 &nbsp;&nbsp;&nbsp;&nbsp; p <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 106 &nbsp;&nbsp;&nbsp;&nbsp; fd <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 72 &nbsp;&nbsp;&nbsp;&nbsp; Xb <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 77 &nbsp;&nbsp;&nbsp;&nbsp; &lt;anonymous&gt; self-hosted : 876 &nbsp;&nbsp;&nbsp;&nbsp; Xb <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 71 &nbsp;&nbsp;&nbsp;&nbsp; Wc <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 69 &nbsp;&nbsp;&nbsp;&nbsp; Rc <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 65 &nbsp;&nbsp;&nbsp;&nbsp; onmessage <a href="https://static.firebase.com/v0/firebase.js?2" rel="nofollow">https://static.firebase.com/v0/firebase.js?2</a> : 64 : Same issue inside of Chrome and Edge, please help! Edit: Pressing Restart API Sandbox also does nothing at all, no text displayed in output console.
Hey&nbsp;Bronson Tippins -&nbsp; Would you mind trying to create a complete copy of the game and trying to reinstall one of your API scripts on that copy, please? Thank you in advance for your patience!&nbsp;
Hi Nicholas, I tried copying the game and the copy seems to work fine. I can work off the copy easily enough. Any idea what might cause the api sandbox to break like that? Thanks.
1578697746

Edited 1578697768
Nicholas
Roll20 Team
Hi&nbsp;Bronson Tippins -&nbsp; Glad to hear that worked for you! Unfortunately, we are unsure at this time what is causing API sandboxes to randomly crash like this. However, our dev team is further investigating and if they find an issue, they will resolve it as soon as they can. We'll keep you posted once we have additional information. We appreciate your patience and understanding! Happiest of gaming to you and your fellow adventurers! :)