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

WFRP3 API Script not working anymore since maintenance

Hello everyone, I've been running a Warhammer Fantasy 3rd Edition campaign for about 2 years now using the custom dice roll script initially found here , and it's worked without issues until today. Without any change on my side, the script doesn't work anymore, and the error message displayed in the API Script page is " Error setting up API settings: SyntaxError: Unexpected token in JSON at position 17373 " Any reason what might have caused this and how I could fix it for my next session ? During the maintenance the blog mentioned that API Scripts could be impacted, has anyone else had their script fail since the site is back ?
1522963137
The Aaron
Pro
API Scripter
Do you have any other scripts installed?  Did you try saving the script to restart it?
No other script running. I deleted the script and added it back again right after, and it seems to work for now... will re-post if there's another issue coming back. Any idea what could have caused a modification of the script without any action from my end ?
1523041726
The Aaron
Pro
API Scripter
No idea, and I don't think that error message is actually coming from your script.  There isn't a place in that script that it's dealing with JSON data.  My best guess would be something strange going on in the sandbox because of the issue on Wednesday.  Glad it's working again!
1523558096

Edited 1523558390
Guls
Pro
It's not working anymore on the day of the next session, will try to delete and reload as last time... Update: I've tried deleting and restarting the script and it still doesn't work, still the same error message: Error setting up API settings: SyntaxError: Unexpected token in JSON at position 17371
1523893106
The Aaron
Pro
API Scripter
Hmm... If you want to PM me an invite to your game and GM me, I can try and track down the issue.