Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Anonymous caller does not have storage.objects.get

A topic by Radar created Apr 19, 2022 Views: 842 Replies: 2
Viewing posts 1 to 3

Hi everyone,

I'm building an HTML5 game which contains a lot of tilemaps (in the form of .json) for the levels. So in my javascript code I have an XMLHttpRequest() to load the .json files. It works perfectly on my local server.

However when I upload the zipped game onto itch.io, it gives me a 501 error on the server and says

                                    Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.

I'm not sure how to resolve this problem. Any idea what's wrong?

Admin (1 edit) (+2)

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

You are likely requesting a file with an absolute path instead of a relative path. The other likely cause is that you are requested a file with the wrong case.

Thanks for the answer, but I just figured it out. I was using jQuery loaded from a Google APIs CDN, and apparently the itch.io server for HTML5 games is incompatible with the Google Cloud Server in someway. I switched the jQuery CDN to a Microsoft one and it fixed it!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.