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 .
×
Why do rogues wear leather armor? Because it’s made of hide. 🥷

EasyExperience API Issue

Had the API working fine one day then the next was getting an output issue whenever I tried to run the session command. Any help with this would be great.
1642743007
Kraynic
Pro
Sheet Author
If you restart the sandbox, does it start working again?
I found LazyExperience a better script to use.  
It dosn't work when I restart the sandbox. It looks fine when restarted but as soon as I do the session command I get the above generated message.
1642780882
Kraynic
Pro
Sheet Author
It might be a problem with the command you are running.  Do you have any other api scripts installed that you could test after the sandbox restart?  If something basic works, like !token-mod --help (if you have TokenMod installed), then you will know something about the other script or the command you are running is causing problems.
Is the config up to date? Only existing players should set to receive experience and then you have to do a Player Update. I had an issue where a player wasn't logged on and I had not set it to Missing in Action. Also you can't give experience to an NPC.