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 .
×
May your rolls be merry + bright! 🎄
Create a free account

API not working at all. Please help if you can.

This is the error I get when trying to load the API:  Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your script's code and click the "Save Script" button. We will then attempt to start running the scripts again. More info... If this script was installed from the Mod Library, you might find help in the Community API Forum. For reference, the error message generated was: SyntaxError: Unexpected identifier
1765259833
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi DM Bobby! Can you give a screenshot of the scripts you have loaded?
DM BobbyD said: This is the error I get when trying to load the API:  Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your script's code and click the "Save Script" button. We will then attempt to start running the scripts again. More info... If this script was installed from the Mod Library, you might find help in the Community API Forum. For reference, the error message generated was: SyntaxError: Unexpected identifier If you go to your game, select Settings > Mod (Api) Scripts > Restart API sandbox it should fix this
1765287597
timmaugh
Forum Champion
API Scripter
I'm not sure, Viggo... the "Unexpected identifier" speaks to a problem in the way one of DM Bobby D's scripts is written. DM Bobby D -- this is the sort of screenshot Keith is asking for: That will let us see what script might be causing an issue. Remember you have to "embed" the image by using the "Image" button on the post toolbar; just copy/pasting the image into the post won't work.
Resetting everything worked. Thank you guys! And Hi again Curtis!