itch.io error (File object causes error on Itch.io)

0 favourites
  • 2 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Hi, everything works fine in editor but once my project is uploaded (specifically in this case to itch.io) i get the error:

    sw.js:8 [SW] Error fetching 'https://html-classic.itch.zone/html/10557755/' (403 )

    Also, I notice that none of the file opening (export or import ) functionality works on itch.io. There are no errors for this after the initial sw.js:8 error.

    You can try the project here at https://pixel-z.itch.io/fastpalette.

    Just create a palette with a couple of clicks then hit export gpl and you will see that this functionality does not work.

    The SAME version hosted at https://www.fastpalette.studio/ does not seem to have this problem and the file viewer works as expected.

    Anyone know what might be causing this or how to fix it?

    Thanks

    EDIT: The sw.js error seems to be specifically an access error:

    <Error>

    <Code>AccessDenied</Code>

    <Message>Access denied.</Message>

    <Details>Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).</Details>

    </Error>

    EDIT 2: It seems the problem is something to do with absolute/relative paths. See here:

    https://itch.io/docs/creators/html5#common-pitfalls

    However, I think this might be a bug in construct 3 itself rather than my project.

    sw.js:8 [SW] Error fetching 'https://html-classic.itch.zone/html/10559081/' (403 ) romFileList @ sw.js:8 await in CreateCacheFromFileList (async) UpdateCheck @ sw.js:11 await in UpdateCheck (async) (anonymous) @ sw.js:12

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't get the error, checked in the latest Chrome and Mozilla.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)