Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

GCS public url returns a WIERD error

Hello, 

We have different GCP projects representing different environments (for simplicity, please consider we have dev & stg environments)

However, when accessing a url of two different "public" buckets (the stg one and dev one) like below, we get two "completely different" responses.

https://storage.googleapis.com/<stg's bucket name>/<one of the folders' name>/

https://storage.googleapis.com/<dev's bucket name>/<one of the folders' name>/

 

One gets a 200 and the other gets 404 with NoSuchKey error (No such object)

What could be the reason behind this? I'd. appreciate your help

 

Preconditions:

- Both buckets are set public

- Both buckets' folders and objects structure is identical

- Both buckets dont' have the "hosting static website" setting.

 

2 1 844