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

API Doesn't Work

Not sure what's going on but I can't get API working on any of my campaigns today.  Restarting sandbox due to script changes... Previous shutdown complete, starting up... And then nothing. I go into the game and none of the api macros scripts stuff work. Can't see anything working how it's supposed to. 
1584310715
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Are these new games, or games on which the API previously worked?
Games that have worked before
1584311979
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I'd go through the  guide to  Solving Technical Issues , and hopefully a dev can sort it out from there (they will need the console log from step 4 in particular): Step 1: Make sure to use the right browser Please check if these issues persist when using both Chrome  and  Firefox. Step 2: Ensure that there are no extensions/addons interfering with Roll20 Please disable  all  add-ons/extensions. Step 3: Clear your cache If none of the above succeeds, please thoroughly work through  Step 4 .  (Don't forget the complete Console Log!)
1584313230

Edited 1584313283
Web Browser: Chrome and Opera (latest) OS : Windows 10, freshly reformatted from the last disastrous update that broke explorer.&nbsp; Javascript : Enabled Antivirus : Total AV Extensions : Opera: none. Chrome: Adblock Plus, Chrome Currency Converter, Facebook Purity Api Output Console: Previous shutdown complete, starting up... Restarting sandbox due to script changes... Previous shutdown complete, starting up... Chrome Console Log:&nbsp; app.roll20.net/:12 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'nonce-UJwhPAqgTpijVBCi' <a href="http://cdn.inspectlet.com" rel="nofollow">http://cdn.inspectlet.com</a> https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-uwsMnjFod2t1K+eR3mOkJlLsVtEBIkSgdwuYqZhVHZ0='), or a nonce ('nonce-...') is required to enable inline execution. app.roll20.net/:13 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'nonce-UJwhPAqgTpijVBCi' <a href="http://cdn.inspectlet.com" rel="nofollow">http://cdn.inspectlet.com</a> https://*.googlesyndication.com https://*.doubleclick.net <a href="https://partner.googleadservices.com" rel="nofollow">https://partner.googleadservices.com</a> <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow">https://ssl.google-analytics.com</a> <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> <a href="https://ajax.googleapis.com" rel="nofollow">https://ajax.googleapis.com</a> <a href="http://ajax.googleapis.com" rel="nofollow">http://ajax.googleapis.com</a> <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> <a href="https://cdn.firebase.com" rel="nofollow">https://cdn.firebase.com</a> https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com <a href="http://static.opentok.com" rel="nofollow">http://static.opentok.com</a> <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a> <a href="http://cdn.crowdin.com" rel="nofollow">http://cdn.crowdin.com</a> <a href="https://crowdin.com" rel="nofollow">https://crowdin.com</a> <a href="http://stun.l.google.com" rel="nofollow">http://stun.l.google.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-/XHNKTzdVLpPBcMgsOl9LN6PEC5ufZbaLdoU14BWKr0='), or a nonce ('nonce-...') is required to enable inline execution. jquery.migrate.js:20 JQMIGRATE: Logging is active app.roll20.net/:15 CAMPAIGN ID: 4406919 app.js?1582765320:541 70 app.js?1582765320:543 TOUCH SUPPORTED: false app.js?1582765320:543 USING WEBGL ACCELERATION... app.js?1582765320:543 WEBGL STARTUP SUCCESS app.js?1582765320:545 Custom Sheet Translation app.js?1582765320:560 Loading Custom character sheet. tutorial_tips.js:7 tuts loaded app.roll20.net/:1 [DOM] Found 2 elements with non-unique id #color_value: (More info: <a href="https://goo.gl/9p2vKq" rel="nofollow">https://goo.gl/9p2vKq</a>) &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ &lt;input type=​"text" size=​"8" id=​"color_value"&gt;​ app.js?1582765320:551 Final page load. sheetsandboxworker.js?1584309549550:682 Starting up WEB WORKER VM4:62 MULTIVERSAL- strength_mod_level: strength, level VM4:62 MULTIVERSAL- constitution_mod_level: constitution, level VM4:62 MULTIVERSAL- dexterity_mod_level: dexterity, level VM4:62 MULTIVERSAL- intelligence_mod_level: intelligence, level VM4:62 MULTIVERSAL- wisdom_mod_level: wisdom, level VM4:62 MULTIVERSAL- charisma_mod_level: charisma, level VM4:62 MULTIVERSAL- acrobatics_modifier: dexterity_mod_level, acrobatics-trained, acrobatics-pen, acrobatics-misc VM4:62 MULTIVERSAL- arcana_modifier: intelligence_mod_level, arcana-trained, arcana-pen, arcana-misc VM4:62 MULTIVERSAL- athletics_modifier: strength_mod_level, athletics-trained, athletics-pen, athletics-misc VM4:62 MULTIVERSAL- bluff_modifier: charisma_mod_level, bluff-trained, bluff-pen, bluff-misc VM4:62 MULTIVERSAL- diplomacy_modifier: charisma_mod_level, diplomacy-trained, diplomacy-pen, diplomacy-misc VM4:62 MULTIVERSAL- dungeoneering_modifier: wisdom_mod_level, dungeoneering-trained, dungeoneering-pen, dungeoneering-misc VM4:62 MULTIVERSAL- endurance_modifier: constitution_mod_level, endurance-trained, endurance-pen, endurance-misc VM4:62 MULTIVERSAL- heal_modifier: wisdom_mod_level, heal-trained, heal-pen, heal-misc VM4:62 MULTIVERSAL- history_modifier: intelligence_mod_level, history-trained, history-pen, history-misc VM4:62 MULTIVERSAL- insight_modifier: wisdom_mod_level, insight-trained, insight-pen, insight-misc VM4:62 MULTIVERSAL- intimidate_modifier: charisma_mod_level, intimidate-trained, intimidate-pen, intimidate-misc VM4:62 MULTIVERSAL- nature_modifier: wisdom_mod_level, nature-trained, nature-pen, nature-misc VM4:62 MULTIVERSAL- perception_modifier: wisdom_mod_level, perception-trained, perception-pen, perception-misc VM4:62 MULTIVERSAL- religion_modifier: intelligence_mod_level, religion-trained, religion-pen, religion-misc VM4:62 MULTIVERSAL- stealth_modifier: dexterity_mod_level, stealth-trained, stealth-pen, stealth-misc VM4:62 MULTIVERSAL- streetwise_modifier: charisma_mod_level, streetwise-trained, streetwise-pen, streetwise-misc VM4:62 MULTIVERSAL- thievery_modifier: dexterity_mod_level, thievery-trained, thievery-pen, thievery-misc app.js?1582765320:549 Auth'ed. app.js?1582765320:549 Go post auth! app.js?1582765320:549 initial setup app.js?1582765320:550 joining game... 4app.js?1582765320:547 Full load page! app.js?1582765320:549 We have 28 pages app.js?1582765320:548 Player -La6vUpt2DkpIOTVnOG0 is offline... app.js?1582765320:548 Player -La7nr_Jn4kYynTwwEJY is offline... app.js?1582765320:548 Player -La7od8nMXK_vyenl7XL is offline... app.js?1582765320:548 Player -Lb4tiopgwPBqj8wwyXd is offline... app.js?1582765320:548 Player -Lbk0lYj9aTw-O630TB0 is offline... app.js?1582765320:548 Player -Lbu1yEakYNhQDkMbCvS is offline... app.js?1582765320:548 Player -Lbu5Xkywus2KmFMUPCS is offline... app.js?1582765320:550 Deferred finish joining... app.js?1582765320:541 Firebase Online DevTools failed to parse SourceMap: chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.preload.js.map DevTools failed to parse SourceMap: chrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/include.postload.js.map DevTools failed to parse SourceMap: <a href="https://app.roll20.net/js/d20/underscore-min.map" rel="nofollow">https://app.roll20.net/js/d20/underscore-min.map</a>
It appears to be working now on Zeitgeist at least.