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

Cannot read property 'set' of undefined

I am new to API use, and downloaded the script for audio.  I created sound files for when characters attack or use their abilities by adding }} !roll20AM --audio,play,nomenu|Halberd ! Script to the description area of the attack.  However, it works a couple of times and then I get an error and have to log out of the game and reset the API.  Is there a help guide for this or am I making a syntax error?
1623898377

Edited 1623898390
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Terry! Have you deleted and imported all tracks using the Roll20 AM menu? It cannot play directly from the Jukebox because of a Roll20 limitation, but must build its own internal database. It's two quick commands: !roll20AM --config,remove !roll20AM --config,import
So I should enter the following into the description box of the attack? !roll20AM --config,remove !roll20AM --config,import }} !roll20AM --audio,play,nomenu|Halberd !