I have set up a new Firestore environment, and when attempting to upload and then read data from storage via cloud functions, I get the following error:
project_id@appspot.gserviceaccount.com does not have storage.objects.get access to the Google Cloud Storage object
.
I have looked online and within the Google cloud console I have added the IAM permission of Storage Admin
to this service account, but I am still getting this same error.
Has anyone had this issue before? I have also tried just giving Owner
role to the service account, but still get the same error.