# Hosted test not working?

**URL:** <https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901>\
**Category:** Extensions\
**Created:** [February 6, 2019, 9:56am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901 "2019-02-06T09:56:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Truce](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/truce/32/5755_2.png) [@Truce](https://staging-discuss.dev.twitch.com/u/Truce)\
**Post date:** [February 6, 2019, 9:56am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/1 "2019-02-06T09:56:58Z")

</div>

I don’t know if I am an idiot or what and I tend to miss documentation when learning something new because I just skim but no matter what I do can’t get my extensions to run on the Twitch website. I upload the files in a zip then I clip start hosted test and the extension/config on Twitch is blank. I have also tried hosting it myself although I am sure I am doing something wrong in this case because I don’t really understand the base URI thing. I have also left the panel viewer/config paths default I don’t really understand this either. I just want to know how to get _something_ working whether it’s the Hello World example or my code but I can’t.

---

<div class="post-metadata">

**Author:** ![LuckyNoS7evin](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/luckynos7evin/32/5036_2.png) [@LuckyNoS7evin](https://staging-discuss.dev.twitch.com/u/LuckyNoS7evin)\
**Post date:** [February 6, 2019, 10:14am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/2 "2019-02-06T10:14:07Z")

</div>

Okay so there are a couple of things to note or if you can supply.

make sure you have the following in all your html files.

```
<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>

```

When you create the zip file don’t include the root directory.

If those aren’t the issue maybe a good old F12 and inspect the load to see if there are any errors

---

<div class="post-metadata">

**Author:** ![Truce](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/truce/32/5755_2.png) [@Truce](https://staging-discuss.dev.twitch.com/u/Truce)\
**Post date:** [February 6, 2019, 10:34am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/4 "2019-02-06T10:34:18Z")

</div>

I still can’t seem to get it to work, I have even tried downloading the hello-world zip and uploading that and the extension is still blank.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 6, 2019, 11:03am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/5 "2019-02-06T11:03:21Z")

</div>

Please check the chrome console (f12) or equivelent and check the network tab, and we can see what errors are occur. Specifically we are looking for non 200 error codes on resources.

Secondly then check the main errors under console of CSP and/or Javascript Errors.

> [@Truce](#):
>
> I have even tried downloading the hello-world zip and uploading that and the extension is still blank.

I’m assuming you did this verbatim without a zip repack?

---

<div class="post-metadata">

**Author:** ![Truce](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/truce/32/5755_2.png) [@Truce](https://staging-discuss.dev.twitch.com/u/Truce)\
**Post date:** [February 6, 2019, 11:10am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/6 "2019-02-06T11:10:52Z")

</div>

Do I look at the Chrome console from the Twitch page? I am still pretty new to net stuff I don’t know what to look for. I see this:  
2panel.html:1 Failed to load resource: the server responded with a status of 404 ()  
vendor-5182f7f13a7032c44bf7.js:45 Extension Warning (l904ik8qte34t406ny7tx2zhlpkgpj): Extension Helper Library Not Loaded  
Also I tried downloading the .zip for the hello world and directly uploading that and I also tried taking all of the the files in the root folder out and zipping that.  
I am probably missing something simple I just don’t know what

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 6, 2019, 11:13am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/7 "2019-02-06T11:13:30Z")

</div>

Sounds like you are running into this issue

> [@\[SOLVED\] 404, The specified key does not exist](https://staging-discuss.dev.twitch.com/t/solved-404-the-specified-key-does-not-exist/11921):
>
> So I have been working on a panel extension for my stream and I got past the local testing, everything was working fine. I uploaded the files in a .zip to Twitch. I followed all the guides, made sure to include the extension helper JS file, but I am getting a 404 error when it tries to load the extension files form the Twitch CDN. I have tried created a new extension and uploaded the example project that Twitch has in the documentation to see if the issue would still happened and it did. I’m no…

It’s reporting that extension helper is not loaded which indicates:

`<script src="https://extension-files.twitch.tv/helper/v1/twitch-ext.min.js"></script>`

Is missing, it could be missing as the index/panel HTML was not loaded as it’s in a folder in the extensions directory instead of in the root. But you got a good hit on `panel.html` apparently

> 1 Failed to load resource: the server responded with a status of 404 ()  
> vendor-5182f7f13a7032c44bf7.js

Did this file not get uploaded or was it renamed and not updated in the panel.html

---

<div class="post-metadata">

**Author:** ![Truce](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/truce/32/5755_2.png) [@Truce](https://staging-discuss.dev.twitch.com/u/Truce)\
**Post date:** [February 6, 2019, 11:17am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/8 "2019-02-06T11:17:26Z")

</div>

These errors are from when I had the hello world example loaded. Everything else is default

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 6, 2019, 11:26am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/9 "2019-02-06T11:26:29Z")

</div>

Hello World as described here

> **[Extensions](https://dev.twitch.tv/docs/extensions/#hello-world--the-developer-rig)**
>
> Get started with Twitch Extensions

?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [February 6, 2019, 11:40am UTC](https://staging-discuss.dev.twitch.com/t/hosted-test-not-working/19901/10 "2019-02-06T11:40:15Z")

</div>

![image](https://d2spem0quai2ol.cloudfront.net/original/2X/7/7c5d9634895d56b6292742787188aba60fd2e1a0.png)

 ![image](https://d2spem0quai2ol.cloudfront.net/original/2X/1/167ec22c8c16900f6d540e58f3b5ab501b46fdfb.png)

I downloaded the rig, downloaded hello world

Zipped the contents and uploaded. Moved to hosted test. All fine.

I believe you are uploading the wrong files?
