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

SyntaxError: Unexpected token '.' with "D&D 5E by Roll20" sheet

1629902324

Edited 1629902593
Mac, Firefox 91.0.1 1. Create new game using "D&D 5E by Roll20" sheet 2. Add a minimal API script, something like: log('hi') 3. Start up the game, and this appears in the API console: Spinning up new sandbox... "hi" "Loading character sheet data..." "Starting webworker script..." "Loading 755 translation strings to worker..." "Starting webworker script..." "Loading 755 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)"
1630040780
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
This has been reported a few times in the last couple days. It appears to be a bogus error that can be ignored, and likely related to the last updated of the D&D 5th Edition by Roll20 Sheet. As long as your sandbox is not crashing, you should be fine.