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

BUG: API won't work on campaign...

I attempted to add a script to an existing campaign, but the API wouldn't initialize at all. I tried reloading, deleting the script and re-entering it, and finally... made a copy of the campaign. The API would then initialize and the script would work. API does not work on the Heroes of Brindol campaign. API does  work on the Heroes of Brindol API campaign.
I found a similar issue. The API wouldn't initialize on campaigns already sitting on the Development server pre-API update, but once I'd recopied them, all was well again.
Eh, my other campaign that was there pre-API worked with the API.
1367403103
Alex L.
Pro
Sheet Author
I had the same problem.
Sorry about this. If you have a really old Campaign on the Dev server, it may not be on the newer shard which is currently necessary for the API to function. In the future this restriction will be removed, but until then if you run into this issue as you've noted you can make a copy of your Campaign and it will work fine. I would honestly recommend making a copy of any Campaign you want to use the API with right now, anyway, as one wrong statement could do some serious damage to your campaign, and I'd hate to see that happen to anyone who was working on their original.