Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Bucket permissions

Hey! I'm using a program that requires googles API, it takes data from a clinical trials site and puts it into a csv: https://github.com/ebmdatalab/clinicaltrials-act-tracker

I'm running it in command line and have opened up a service account a bucket for the program to use and I've attached the two.

However I get an error that says my service account requires storage.buckets.get access I found out how to add permissions and roles from another post here.

however I still get the error even with the role containing the permission. I added a custom role with Storage.buckets.get permission and added it to my service account.

Please can someone help me fix this error?

"google.api_core.exceptions.Forbidden: 403 GET storage.googleapis.com/storage/v1/b/…: ripley@clinical-trial-354713.iam.gserviceaccount.com does not have storage.buckets.get access to the Google Cloud Storage bucket." That's the error.

0 1 2,856