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 .
×

API error-help

I was trying to figure out why one of my API's stopped working. ended up with the message below. I have now deleted all my API...but still getting same message. don't know what to do. any help would be much appreciated. Thanks. "Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again.  More info... For reference, the error message generated was:  ReferenceError: h is not defined"
1591044410
The Aaron
Roll20 Production Team
API Scripter
Can you post the script?  You have some where referencing a variable named "h" but it is not in scope.
Sorry I have no scripts now...I deleted all api from my games
I had a single 'h' in a new script tab...didnt realize it and somehow saved it. then the errors
1591044806
The Aaron
Roll20 Production Team
API Scripter
That would do it.
anything i can do?
1591046930
The Aaron
Roll20 Production Team
API Scripter
Just delete that script with the single "h" in it.