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

New Pro user - API scripts won't load

1443238562

Edited 1443238627
Alex C.
Plus
Marketplace Creator
I upgraded my account to Pro level tonight. When I went to start loading in some API scripts, I noticed that I had an error message above the "API Output Console" area. Note that this was before I had actually pasted in or saved any scripts at all. Is there something obvious that I'm missing? I went ahead and loaded in a few scripts, but the error is still there and none of the scripts are loading. I'm running Vista, in Chrome 45.0.2454.101. Thanks in advance for the help.
1443239869
Gen Kitty
Forum Champion
When in doubt follow Steps 1-3 of our Solving Technical Issues checklist to see if one of those components is causing the problem.  It won't hurt anything and may fix the issue.  If doing that fixes the issue, just let us know. Otherwise, move on to Step 4 , and we'll need all that information to further assist you.
1443240896
Alex C.
Plus
Marketplace Creator
Thanks for the reply! Step 1: I'm running the latest version of Chrome (45.0.2454.101). Step 2: I'm running the following extensions - Adblock Google Cast Hangouts Missing e Pin It Button Reddit Enhancement Suite Search by Image (by Google) TinEye Reverse Image Search Step 3: I've cleared my cache. The error is still there. Step 4: Description:&nbsp;I upgraded my account to Pro level tonight. When I went to start loading in some API scripts, I noticed that I had an error message above the "API Output Console" area. This was before I had actually pasted in or saved any scripts at all. After loading in and saving several scripts, the error message remains. How to reproduce: I'm not sure how to answer this one. My steps were: upgraded to Pro level, went to campaign page, clicked on Settings&gt;API Scripts. Computer Settings: Operating System - Vista Web Browser - Chrome 45.0.2454.101 Javascript - Enabled Anti-Virus - Microsoft Security Essentials Extensions - As above Console Log (I can see several errors in there about google refusing to execute scripts) : 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 https://*.googlesyndication.com <a href="https://www.googletagservices.com" rel="nofollow">https://www.googletagservices.com</a> https://*.googlesyndication.com <a href="https://www.google-analytics.com" rel="nofollow">https://www.google-analytics.com</a> https://*.googlesyndication.com <a href="https://d3clqjduf2gvxg.cloudfront.net" rel="nofollow">https://d3clqjduf2gvxg.cloudfront.net</a> https://*.googlesyndication.com https://*.firebaseio.com https://*.googlesyndication.com https://*.opentok.com https://*.googlesyndication.com <a href="http://www.google-analytics.com" rel="nofollow">http://www.google-analytics.com</a>". Either the 'unsafe-inline' keyword, a hash ('sha256-C5YNbbSDMtE6nUAc_oefTPBOxP7pLoGm7wOrPntkt3Y='), or a nonce ('nonce-...') is required to enable inline execution. app.js?1443189368:29 70 app.js?1443189368:30 TOUCH SUPPORTED: false app.js?1443189368:30 USING WEBGL ACCELERATION... app.js?1443189368:30 WEBGL STARTUP SUCCESS app.js?1443189368:25 select app.js?1443189368:25 Switch mode to select app.js?1443189368:40 Initializing new dice engine with randomness... app.js?1443189368:40 Using random entropy app.js?1443189368:43 Compiling sheet... app.js?1443189368:43 Found rolltemplate: 5eDefault app.js?1443189368:43 Finding sheet rolls... app.js?1443189368:44 window resize app.js?1443189368:30 Final set zoom! app.js?1443189368:30 UPDATE GL SIZE! app.js?1443189368: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=i.imgur.com/4725LWH.png" rel="nofollow">http://imgsrv.roll20.net/?src=i.imgur.com/4725LWH.png</a>'. This content should also be served over HTTPS. app.js?1443189368:36 Final page load. app.js?1443189368:44 Refresh jukebox List! app.js?1443189368:35 Auth'ed. app.js?1443189368:35 Go post auth! app.js?1443189368:35 initial setup 2app.js?1443189368:44 Refresh jukebox List! app.js?1443189368:35 Got players value... app.js?1443189368:35 joining game... app.js?1443189368:38 refershing page listings! app.js?1443189368:34 Player -Ii9f4QnknpDS7IWqclu is offline... app.js?1443189368:34 1 app.js?1443189368:44 1 app.js?1443189368:34 Player -JC5h8Kliqcte3RDF9bP is offline... app.js?1443189368:34 Player -JpIqNWfuygAKEZuPn6X is offline... app.js?1443189368:34 Player -JpJueCaEdU0f0-6bc0c is offline... app.js?1443189368:34 Player -JpJvM1Fb8sxhhM5zIvi is offline... app.js?1443189368:34 Player -JpM4idsqMv-hkL23t4x is offline... app.js?1443189368:35 Deferred finish joining... app.js?1443189368:29 Firebase Online app.js?1443189368:34 I think I should be first? app.js?1443189368:34 FIRST PLAYER: -Ii9f4QnknpDS7IWqclu 9app.js?1443189368:33 Full load page! app.js?1443189368:35 We have 24 pages app.js?1443189368:42 Refresh Journal List! app.js?1443189368:42 Search took 12ms app.js?1443189368:36 Scan for new plays! app.js?1443189368:35 handle page changes app.js?1443189368:35 false app.js:38 refershing page listings! app.js:42 initiatlizing video chat app.js:42 Connecting to WebRTC app.js:44 Refresh jukebox List! app.js:35 init active page! app.js:33 activate page! app.js:33 FULLY ACTIVATE VIEWS FOR PAGE. app.js:32 Do refresh link cache! app.js:33 Graphics: 0 app.js:33 Paths: 0 app.js:42 Refresh Journal List! app.js:42 Search took 82ms app.js:38 refershing page listings! app.js:33 Reorder by ZORDER <a href="https://s3.amazonaws.com/files.d20.io/images/12012" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/12012</a>... Failed to load resource: the server responded with a status of 403 (Forbidden) app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1231" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1231</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1235" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1235</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1235" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1235</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1235" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1235</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1235" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1235</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1256" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1256</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1256" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1256</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1250" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1250</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1250" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1250</a>... app.js:32 Swapping <a href="https://s3.amazonaws.com/files.d20.io/images/1256" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1256</a>... to <a href="https://s3.amazonaws.com/files.d20.io/images/1256" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1256</a>... 2app.js:29 Error loading image, probably due to cors. Trying once without CORS for <a href="https://s3.amazonaws.com/files.d20.io/images/1201" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/1201</a>... 2app.js:29 new lamp app.js:33 Reorder by ZORDER 9app.js:32 setting src app.js:36 Updating character sheet values <a href="https://s3.amazonaws.com/files.d20.io/images/12012" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/12012</a>... Failed to load resource: the server responded with a status of 403 (Forbidden) app.js:36 Updating character sheet values app.js:32 setting src 2app.js:36 Updating character sheet values app.js:28 Cols: 2 Rows: 2 app.js:28 Took 1ms to generate cache. 24app.js:36 Updating character sheet values app.js:42 Connected to session 7app.js:36 Updating character sheet values app.js:42 Someone just connected. app.js:42 It's us? 24app.js:36 Updating character sheet values app.js:44 window resize app.js:30 Final set zoom! app.js:30 UPDATE GL SIZE! app.js:30 Final set zoom!
1443264648

Edited 1443264684
Gen Kitty
Forum Champion
And just to confirm, turning off all your addons & antivirus doesn't affect things in any way?
1443272995
Alex C.
Plus
Marketplace Creator
Correct! The errors remained after turning everything off and restarting Chrome.
1443273365
Alex C.
Plus
Marketplace Creator
I logged in using Firefox (31.0) instead of Chrome and the error was still there.
1443295529
Alex C.
Plus
Marketplace Creator
Well - the problem has fixed itself (as all things tech-related sometimes do). I'm not sure what I did that corrected it. I had turned off trackerjacker to see if it was the culprit, and when I did, the error messages went away. So I loaded the game up and the other scripts loaded in and worked just fine. So I went, recopied and repasted the trackerjacker script, saved and reactivated, and still no errors. All scripts working as intended now. Perhaps I missed something in my first copy/paste? Thanks for looking it over for me!
1443342211
Ziechael
Forum Champion
Sheet Author
API Scripter
Thanks for the update. Since your issue has been resolved (somehow, but all's well that ends well) i'll close this thread. Feel free to create a new one should you have any further problems.