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 .
×
May your rolls be merry + bright! 🎄
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

API won't start.

I seem to have all my scripts disabled and yet this is as far as I can get with my API Sandbox. Spinning up new sandbox... "Starting webworker script..." ReferenceError: csada is not defined And it stops, any idea of how I can fix this?
UPDATE: Now it is stuck on "Previous shutdown complete, starting up..." It doesn't even show the csada error message any longer
1539617059

Edited 1539617255
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Your initial error is that there is a variable, csada, you are trying to use in a script (or potentially in the sheet code that starts up at the same time) that is not defined. Your second problem is most likely because there is no one logged into the campaign currently. The API sandbox doesn't startup (and will actually shut itself down) if there are no players detected in the game after a given timeframe.
1539617357
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Omnibelt, The second error is most likely that no one is logged into the game at the moment. It's probably why you can't get to the mysterious csada error. As for that, I would try disabling scripts in groups until you are able to load without error. That will help you track down the culprit. Once you know which script is causing the problem, you can hopefully either contact the script author for help (many of the more popular scripts have dedicated, ongoing threads.), or post the info in the API forum with a subject that includes "[Script Name]"
The second problem is definitely what you said, thank you! Unfortunately I have no idea which script is causing the issue, I've deleted all of the API scripts and I still seem to be getting the error.
1540268339
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
If you've deleted all of your scripts, then you are getting a different error that says something along the lines of "error downloading scripts". This is normal for an empty API page.
1540268753

Edited 1540268801
Unfortunately it doesn't actually say that, it still has the same error message. I took a screenshot to show.&nbsp; <a href="https://i.imgur.com/xowZAWT.png" rel="nofollow">https://i.imgur.com/xowZAWT.png</a>
1540273743

Edited 1540273913
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi omnibelt, It does indeed appear that all is not right in your API. Since these steps haven't solved the problem, I will escalate this to a dev, if you could please answer which character sheet you are using, and go through our Troubleshooting Steps. That log is particularly important to helping the devs discover the source of the issue. Guide to Solving Technical Issues . Step 1: Make sure to use the right browser Please check if these issues persist when using both Chrome and Firefox. Step 2: Ensure that there are no extensions/addons interfering with Roll20 Please disable all add-ons/extensions and anti-virus programs. Step 3: Clear your cache If none of the above succeeds, please thoroughly work through Step 4 . (Don't forget the complete Console Log!)
Hi there, I'm using the Pathfinder (Community) sheet. And here is a copy of the Console Log!&nbsp;<a href="https://pastebin.com/rtDahuJ0" rel="nofollow">https://pastebin.com/rtDahuJ0</a>
1541122455

Edited 1541122589
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmm, are you sure that's the entire console log? It's extremely short for the bootup of the vtt, and is missing several logs that should be included. As an example, here's what the console log for a game I'm in using the PF community sheet looks like . On the other hand, it's very long for a console log of the API scripts page.
1541128504

Edited 1541128645
Hey there, I tried to get a different pastebin, does this look better? <a href="https://pastebin.com/WmwnY1vU" rel="nofollow">https://pastebin.com/WmwnY1vU</a>
Hey omnibelt, What game are you experiencing the issue with? Also, how exactly were you able to access API scripts before?
1541232145

Edited 1541232748
I'm sorry? I'm not sure what you mean by that, as I said before I am using the Pathfinder Community Sheets, running Pathfinder. To be exact, I am one of the GMs of a "Living Campaign" that we run on your service. Each GM has our own room on the same account that is paid for by our community all using the roll 20 service. I ran the API scripts on the room I have for our Campaign that I used to run for many different people. I'm not sure what you mean by "how exactly were you able to access API scripts before?". If you could clarify that statement that'd be very helpful.
Hi Omnibelt, As the API is a Pro level feature it was not clear that you were using a separate account as opposed to a separate error entirely. I am seeing a large amount of Living campaign games-- so we need the exact name or a link (not a join link). Do all of the games use the same scripts or does it vary? Is this error limited to only one game or is it all of them?
Hi there the room being affected right now is just this one:&nbsp; <a href="https://app.roll20.net/campaigns/details/2753296/vlc-omnibelts-omlettery" rel="nofollow">https://app.roll20.net/campaigns/details/2753296/vlc-omnibelts-omlettery</a> It varies from room to room what API scripts are being used as each GM has their own room, as far as I know I am the only one having this issue with their room.
Gotcha, I am seeing the csada mention on my end as well. We will be sure to get this in front of a dev-- they are out on weekends so Monday will be the earliest. Sorry for the delay!
No problem! Thanks for looking into this for me, my room has about a years worth of maps, tokens, music etc all organized so if I there's a chance I don't have to remake it, you guys take as long as you need! Very much appreciated!!
Hi again omnibelt! It appears there is actually a script with no name within the game that just has the text "csada" could you try removing that script and let me know how it goes?
Well it looked like that worked! I would have never seen that script if you hadn't pointed it out! I didn't realize they could just be blank tabs like that. I'm getting the error that I don't have any scripts downloaded, I think its all working now! Thank you so much for all your help over this, very very very much appreciated! You guys all deserve some praise and raises! Thanks!!!!&nbsp; - Omnibelt
Awesome! Glad to hear :) We have submitted a ticket to disallow blank names in the future just for this reason. That said, I will go ahead and mark this as resolved. Happy rolling!