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

Possible infinite loop detected, shutting down.

1756189104

Edited 1756190854
I've seen that this has happened before, but a long term campaign I have been running has had the API crash and refuse to run. It reads that the issue is&nbsp; Possible infinite loop detected, shutting down. Spinning up new sandbox... "Loading character sheet data..." "Starting webworker script..." "Loading 1506 translation strings to worker..." "Starting webworker script..." "Loading 1506 translation strings to worker..." "%cRoll20 Kingmaker Module log| kScaffold Loaded" "ReferenceError: $20 is not defined" "ReferenceError: $20 is not defined at eval (Pathfinder2ByRoll20.js:8954:5) at Array.forEach (&lt;anonymous&gt;) at eval (Pathfinder2ByRoll20.js:8855:77) at eval (&lt;anonymous&gt;) at messageHandler (evalmachine.&lt;anonymous&gt;:713:6) at process.&lt;anonymous&gt; (/home/node/d20-api-server/node_modules/tiny-worker/lib/worker.js:65:55) at process.emit (node:events:517:28) at emit (node:internal/child_process:944:14) at process.processTicksAndRejections (node:internal/process/task_queues:83:21)" I have removed all API from it, but adding any new API script returns the same error. Otherwise with none it understands it has no API to load: detected currently running sandbox... restarting Error downloading scripts (probably no scripts exist for campaign.) The game had multiple API and quite a lot of add-ons that had grown over time, but was stable until recently, and the API had not been changed for months. Additionally, and this may be a separate problem, but the Track Source Button (cloud icon) does not appear when I hover over a track in Jukebox no matter what I do. Firefox or Chrome, cleared cache and cookies, no extensions interfering with it... I even attempted to check it via the phone, and it didn't help. I am not sure if these two problems are related. Thank you for your time.&nbsp;&nbsp; ------- Edit:&nbsp; <a href="https://app.roll20.net/forum/post/11390473/api-shutting-down-constantly-possible-infinite-loop-but-i-havent-changed-apis-in-over-a-year" rel="nofollow">https://app.roll20.net/forum/post/11390473/api-shutting-down-constantly-possible-infinite-loop-but-i-havent-changed-apis-in-over-a-year</a> This post had the same issue two years ago. I had some custom scripts, but I was using ChatSetAttr, TokenMod, and TurnMarker1 on a Pathfinder 2e game.&nbsp;
1756216341
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Much like that thread, there is nothing in there I can see that points to a script. Which characters sheet does this game use?
1756237527

Edited 1756238628
The pathfinder 2e with Demiplane option. Nobody uses Demiplane in the group, but I'm not sure how to remove it as an option and just use the Roll20 version. But this bug effects every game I have. The original, non jumpgate version of the game that was archived is now having the same message. I made a new game just to see, and it also has it. So I think the issue is with the account rather then the specific game. I'm just locked out of any API scripts at the moment.&nbsp; And also the can't see the Source Track button, but that is perhaps a lesser problem at the moment.&nbsp; Is there someone I can contact specifically about this, or would anyone know of a reason as to why it happened? The original thread didn't get an answer to this I could see.&nbsp;
1756246906
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The best way to get official help is through a&nbsp; Help Center Request . It would be good to include your API log, as well as a&nbsp; Console Log ( Chrome , Firefox ). That creates a Help Ticket. Hopefully with that information, the devs can figure out what's going wrong. In most cases, the forums are community level help.