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

[PF1 Official Sheet] API Error

Greetings, I just started having an issue today adding new spells to all character sheets in my game. We are using the official Roll20 PF1 sheet. I'm the GM and neither I nor my players can add any spells anymore (from compendium or manually). When trying to add a spell manually, a new spell slot does appear in the list but when the spell's name is filled in, the name doesn't even show up in the area where you click to cast the spell. Spells which are already in the sheet work fine. I have an error that shows up in the API, which can be seen below. I was going to post this in the Character Sheet forum but I wasn't sure if that would be allowed since it involves an API error. Restarting sandbox by user request... detected currently running sandbox... restarting "Loading character sheet data..." "Starting webworker script..." "Loading 683 translation strings to worker..." "Starting webworker script..." "Loading 683 translation strings to worker..." "SyntaxError: Unexpected token '}'" "SyntaxError: Unexpected token '}'     at eval (<anonymous>)     at messageHandler (evalmachine.<anonymous>:713:6)     at process.<anonymous> (/home/node/d20-api-server/node_modules/tiny-worker/lib/worker.js:65:55)     at process.emit (events.js:310:20)     at emit (internal/child_process.js:876:12)     at processTicksAndRejections (internal/process/task_queues.js:85:21)" "SyntaxError: Unexpected end of input" "SyntaxError: Unexpected end of input     at eval (<anonymous>)     at messageHandler (evalmachine.<anonymous>:713:6)     at process.<anonymous> (/home/node/d20-api-server/node_modules/tiny-worker/lib/worker.js:65:55)     at process.emit (events.js:310:20)     at emit (internal/child_process.js:876:12)     at processTicksAndRejections (internal/process/task_queues.js:85:21)"
I want to add more info to this post from another group, we where going to do some level ups and everything related to the level calculation is basically broken, you can't add feats from the compendium either
1639089772
Andrew R.
Pro
Sheet Author
I suggest you disable all the API scripts and see if the problem goes away. If it does, then enable scripts one at a time until you see the error again. That will narrow down the search for the problem. 
1639091701
timmaugh
Forum Champion
API Scripter
I don't think that will help, Andrew. It looks like the error is happening in a module supporting character sheets... "worker.js"... so I'd guess something is getting tripped from the sheet. But that's not my normal wheelhouse, so I'm more of an observer on this one.
1639105165
Andrew R.
Pro
Sheet Author
There's a thread over in Character Sheets about trouble with PF1! <a href="https://app.roll20.net/forum/permalink/10543304/" rel="nofollow">https://app.roll20.net/forum/permalink/10543304/</a>
1639118490
Stephanie B.
Forum Champion
Sheet Author
Hi, folks. Thanks for the reports. This issue should now be resolved. Please submit any further issues to the Help Desk .&nbsp;
Thank you! It's working again for us :-)