[SOLVED] 404, The specified key does not exist


#1

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 not sure what the issue is at this point. I have tried changing up all the code and the file structure to ensure that there were no issues there. From all the searching, testing, and trials that I have done I can’t seem to find any solution to this issue on my end. I currently just have a super basic “Hello World” file set uploaded just to make sure none of my code was causing the issues and it doesn’t appear that it is.

Here is the error that is loading in my panels iframe:

404 Not Found

Code: NoSuchKey
Message: The specified key does not exist.
Key: hzviu132lbvm97jtmtmncrvtjc1ft1/0.0.1/c712cfb21f62a2e50d65f689e5414241/viewer.html
RequestId: B6E6C6E922895B0C
HostId: q940vpJg48pS9Sdb+jmf2n80vgEXV1bEf/dcnNKwH6kaUpWAtLsu98W0qUFl7N7KNnUR8zOoTTc=

Has anyone else encountered something like this and found a fix? I feel like I’m going crazy at this point.


Hosted Test - 404 Not Found NoSuchKey The specified key does not exist
Having issue with Hosted Assets
Works on my machine!
How does asset hosting work?
Hosted Test Status
Not see hosted assets on stream
Hosted Extension Errors
Minimum requirement for Local Test
EXTENSION hosted testing
#2

Does your zip file contain a folder? You need to compress your files not in a folder in the zip but at the zip root.

As in:

image

Select this files then right click and compress.


[SOLVED] Vue.js is not working on Hosted Test
#3

Yep, that was it. Thanks for the info. :ok_hand:
I must have misunderstood the documentation.


#4

I don’t think it’s IN the documentation, I poked upstairs about a tweak.

Caught me out on my first upload too!


#5

It does say ensure “Files are placed in the root of the ZIP directory” in the “Hosted Test” section of the docs, I just glossed over that.
Glad I’m not the only one who ran into this though. Makes me feel less crazy :stuck_out_tongue_closed_eyes:


#6

Ha, I’ve not read the live docs fully I’m still working off the gets murdered before secrets revealed, cough the docs i have in memory :smiley:


#7

Thankfully there isn’t too much to know assuming you are not using user auth. I haven’t even begun to dig into that yet.


#8

Thanks a lot Dude, I had exactly the same issue. Now the panel extension gets loaded onto my channel! :smile:


#9

I’ve tried, this, but I’m still getting the exact same error. At this point my viewer.html and config.html don’t even link to any of my other assets, they just say “hello world”

But still same error :S

I made a folder called assets, and inside it placed my 2 html files. I then compressed them - then compressed the parent folder (assets.zip) and uploaded it to the Twitch cdn. No luck

55%20AM


#10

Thats the problem.
You compressed twice…


#11

Yep, spot on as always. Thanks @BarryCarlyon. Btw it was great seeing you speak & demo at the analytics talk on Dev Day :smile: