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
This post has been closed. You can still view previous posts, but you can't post any new replies.

[Help] Error setting up state: SyntaxError: Unexpected end of JSON input

Hi, I'm new here, and I've been poking around the API the past week, seeing what I can do. Today, I got this error, disabling all scripts. Error setting up state: SyntaxError: Unexpected end of JSON input I've tried deleting all the scripts. I've tried deleting and creating a new game, adding only test.js with the content of `log("hello");` It appears to affect all games. I'm guessing that I've somehow screwed up the state variable. Is there a way to restore it to its default? I'm not doing anything serious with the API yet, so we can nuke it from orbit, but I am running two campaigns without scripts, so hopefully I haven't screwed my entire account up.
There are a number of API issues right now... see other thread.  Likely the system updates are boinking the system out right now
Oh, thank goodness.
Yeah, I have multiple games in which it's happening.  One is where I do all my API work before moving scripts to my 'live' game and both are giving me API errors 
1522173277
The Aaron
Roll20 Production Team
API Scripter
Bug post here:&nbsp; <a href="https://app.roll20.net/forum/post/6223311/syntaxerror-unexpected-token" rel="nofollow">https://app.roll20.net/forum/post/6223311/syntaxerror-unexpected-token</a> (closing)