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

Help with autoButtons API loading error, please

Why would I be getting this error showing up in the Module Output Console, whenever restarting the API sandbox?


Failed to load autoButtons

No such file or directory @ rb_sysopen - /code/apiscripts/autoButtons/0.9.0/autoButtons.js


I loaded autoButtons from the Roll20 API library. Here is a capture of my current APIs, in case you can see a missing resource or an API that may be causing a conflict.


March 15 (2 weeks ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

HI Zim Astrofal!

If no one comes up with some useful advice, your best bet is capturing a Console Log (Chrome, Firefox) and filing a Help Center Request. The forums are primarily community help.

March 16 (2 weeks ago)
The Aaron
Roll20 Production Team
API Scripter

It's because the author submitted the updated `script.json` but not the updated script file, so it's looking for a script file that doesn't exist.  I'll poke Oosh about uploading the right one.

March 18 (2 weeks ago)
Oosh
Sheet Author
API Scripter

Sorry, I done goofed.

I've submitted a PR to fix the issue, but if you need it sooner you can install it manually from the source:
https://gitlab.com/ooshp/autoButtons/-/blob/development/autoButtons.js