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 .
×
This post has been closed. You can still view previous posts, but you can't post any new replies.

API Scripts not working

I have been using a couple of scripts with a third script as an add on for a while now. Recently, both of the scripts have stopped working. I have tried copying the game, and adding just the Torch script to it, however it still will not work. I tried disabling all of my Chrome extensions and cleared all browsing data, however that has not worked.. The sandbox gives no errors. I have the console log, and inside of it there are a few errors and then many warnings. This is with only the Torch script in, my other script was CreatureGen, which worked just fine. The log is long, and I do not know how to format it as a spoiler, so I will have to paste the whole wall in. Sorry in advance. app.roll20.net/:12 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval' 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>". Either the 'unsafe-inline' keyword, a hash ('sha256-m+IAfsGYvyptUxWPy2eFgCUiWo18d9j4/ijvtF2f7Zw='), 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' 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>". Either the 'unsafe-inline' keyword, a hash ('sha256-j/BKvjJIk0Ivhw3IAc2xQKWrV+ZRiQyeIlGtPBx4j0k='), or a nonce ('nonce-...') is required to enable inline execution. <a href="https://www.google-analytics.com/analytics.js" rel="nofollow">https://www.google-analytics.com/analytics.js</a> Failed to load resource: net::ERR_BLOCKED_BY_CLIENT app.js?1463676414:29 70 app.js?1463676414:30 TOUCH SUPPORTED: false app.js?1463676414:30 USING WEBGL ACCELERATION... app.js?1463676414:30 WEBGL STARTUP SUCCESS app.js?1463676414:25 select app.js?1463676414:25 Switch mode to select app.js?1463676414:41 Initializing new dice engine with randomness... app.js?1463676414:41 Using random entropy app.js?1463676414:44 Compiling sheet... app.js?1463676414:44 Found rolltemplate: pf_spell app.js?1463676414:44 Found rolltemplate: pf_attack app.js?1463676414:44 Found rolltemplate: pf_defense app.js?1463676414:44 Found rolltemplate: pf_generic app.js?1463676414:44 Found rolltemplate: pf_block app.js?1463676414:44 Found webworker script jquery.1.8.2.min.js:2 The specified value "Medium" is not a valid number. The value must match to the following regular expression: -?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)? app.js?1463676414:44 Custom Sheet Translation app.js?1463676414:44 Finding sheet rolls... app.js?1463676414:45 window resize app.js?1463676414:30 Final set zoom! app.js?1463676414:30 UPDATE GL SIZE! app.js?1463676414:30 Final set zoom! tutorial_tips.js:7 tuts loaded app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=paizo.com/image/content/Logos/PathfinderRPGLogo_500.jpeg" rel="nofollow">http://imgsrv.roll20.net/?src=paizo.com/image/content/Logos/PathfinderRPGLogo_500.jpeg</a>'. This content should also be served over HTTPS. sheetsandboxworker.js?20150218:212 Starting up WEB WORKER VM36:621 •.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ The Aaron Sheet v0.2.4 ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.• VM36:622 •.¸¸.•*´¨`*•.¸¸.•*´¨`*•.¸ Last update: Fri Mar 04 2016 07:28:11 GMT-0600 (Central Standard Time) ¸.•*´¨`*•.¸¸.•*´¨`*•.¸¸.• app.js?1463676414:36 Final page load. app.js?1463676414:45 Refresh jukebox List! app.js?1463676414:35 Auth'ed. app.js?1463676414:35 Go post auth! app.js?1463676414:35 initial setup app.js?1463676414:34 r app.js?1463676414:35 Got players value... app.js?1463676414:36 joining game... app.js?1463676414:34 Player -KH259PfbSlpZwlYvT0H is offline... app.js?1463676414:34 Global Volume: 100=1 app.js?1463676414:36 Deferred finish joining... app.js?1463676414:29 Firebase Online 6app.js?1463676414:33 Full load page! app.js?1463676414:35 We have 6 pages app.js?1463676414:39 refershing page listings! app.js?1463676414:36 handle page changes app.js?1463676414:36 false app.js?1463676414:39 refershing page listings! app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net:5100/?src=www.cartographersguild.com/attachments/t…378d1282657195-realistic-fold-marks-screenhunter_09-aug.-24-19.55.jpg&cb=5" rel="nofollow">http://imgsrv.roll20.net:5100/?src=www.cartographersguild.com/attachments/t…378d1282657195-realistic-fold-marks-screenhunter_09-aug.-24-19.55.jpg&cb=5</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net:5100/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net:5100/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a>'. This content should also be served over HTTPS. 4app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=55" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=55</a>'. This content should also be served over HTTPS. 18app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555</a>'. This content should also be served over HTTPS. 2app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555555</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555555</a>'. This content should also be served over HTTPS. 11app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=55" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=55</a>'. This content should also be served over HTTPS. app.js?1463676414:36 Scan for new plays! app.js?1463676414:32 Do refresh link cache! app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net:5100/?src=www.cartographersguild.com/attachments/t…378d1282657195-realistic-fold-marks-screenhunter_09-aug.-24-19.55.jpg&cb=5" rel="nofollow">http://imgsrv.roll20.net:5100/?src=www.cartographersguild.com/attachments/t…378d1282657195-realistic-fold-marks-screenhunter_09-aug.-24-19.55.jpg&cb=5</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net:5100/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net:5100/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=55" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=55</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555</a>'. This content should also be served over HTTPS. app.js?1463676414:33 Swapping <a href="http://imgsrv.roll20.net:5100/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net:5100/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a> to <a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a> app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a>'. This content should also be served over HTTPS. app.js?1463676414:36 init active page! app.js?1463676414:33 activate page! app.js?1463676414:33 FULLY ACTIVATE VIEWS FOR PAGE. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=555555</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555555</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5555</a>'. This content should also be served over HTTPS. app.roll20.net/:1 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a>'. This content should also be served over HTTPS. app.js?1463676414:33 setting src app.js?1463676414:33 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a>'. This content should also be served over HTTPS. app.js?1463676414:33 Mixed Content: The page at '<a href="https://app.roll20.net/editor/" rel="nofollow">https://app.roll20.net/editor/</a>' was loaded over HTTPS, but requested an insecure image '<a href="http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5" rel="nofollow">http://imgsrv.roll20.net/?src=www.dunjinni.com/forums/uploads/Bogie/Z82_Torch_fire5a_sc_bg.png&cb=5</a>'. This content should also be served over HTTPS. app.js?1463676414:33 Graphics: 0 app.js?1463676414:33 Paths: 0 app.js?1463676414:33 Reorder by ZORDER app.js?1463676414:43 Refresh Journal List! app.js?1463676414:43 Search took 14ms app.js?1463676414:39 refershing page listings! 260app.js?1463676414:29 new caster! app.js?1463676414:33 Reorder by ZORDER app.js?1463676414:43 initiatlizing video chat app.js?1463676414:43 Connecting to WebRTC app.js?1463676414:45 Refresh jukebox List! app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 1ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 0ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 1ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 0ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 39ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 4ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 1ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 0ms to generate cache. app.js?1463676414:30 new lamp app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 1ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 0ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 1ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 0ms to generate cache. app.js?1463676414:28 Cols: 2 Rows: 2 app.js?1463676414:28 Took 0ms to generate cache. app.js?1463676414:33 Reorder by ZORDER app.js?1463676414:43 Connected to session app.js?1463676414:43 Someone just connected. app.js?1463676414:43 It's us? app.js?1463676414:42 Finished after going 2 levels deep. app.js?1463676414:42 Begin processing op! app.js?1463676414:42 Inline rolls complete! app.js?1463676414:29 Firebase Offline app.js?1463676414:34 Player -KH259PfbSlpZwlYvT0H is offline... <a href="https://hlg.tokbox.com/prod/logging/ClientEvent?_=12b90fc2-821a-4f80-a45e-18569e24af3f" rel="nofollow">https://hlg.tokbox.com/prod/logging/ClientEvent?_=12b90fc2-821a-4f80-a45e-18569e24af3f</a> Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED app.js?1463676414:29 Firebase Online app.js?1463676414:45 window resize app.js?1463676414:30 Final set zoom! app.js?1463676414:30 UPDATE GL SIZE! app.js?1463676414:30 Final set zoom!
1464033865

Edited 1634233775
Phil B.
Forum Champion
Sheet Author
Hey Gravestone, sorry you were having API issues last night. We had severally other users that were also having issues around this time as well. I don't think we ever figured out exactly what was happening, but it seems to have cleared up. If you could try again , now, and let me know if you're still having issues we can move on from there.
Excellent! Thank you very much. Let's just chock it up to the servers being overloaded because so many people play. On a side note, I think that chat linked macros (that is what I call them, don't know the name) were not working as well. But, all is well. Thank you guys for your help and your awesome product! Have a nice day.
1464109737
Phil B.
Forum Champion
Sheet Author
Yeah, that happens some times and some times it's not even the load that does it. The servers just randomly decide to throw a hissy fit and make life hard for everyone else, I blame it on a rough childhood. :P Thank you for your kind words, and your continued support of Roll20. It's always a breath of fresh air to hear that a user actually appreciates the hard work we do. :) Since there isn't much else I can do, since I forgot to bring my time machine back next week, I'm going to go ahead and close the thread. If you have any further issues, please feel free to open a new thread and maybe next time I can actually fix something.