I'm trying to import data as csv file from Google Cloud Storage (creating DataStore)
then got an error -> Missing required permissions: storage.objects.get
I already add all these roles to both service accounts, but it didn't work at all.
I've been trying to solve this problem but still couldn't find anything.
Hi @rada_leela,
Welcome to Google Cloud Community!
The storage.objects.get error message “Missing required permissions” indicates a possibility that the service account has not been granted sufficient privileges to retrieve objects from the Cloud Storage bucket.
Possible Causes and Fixes:
gsutil iam ch serviceAccount:[SERVICE_ACCOUNT_EMAIL]:roles/storage.objectViewer gs://[BUCKET_NAME]
gsutil acl ch -u [SERVICE_ACCOUNT_EMAIL]:READER gs://[BUCKET_NAME]/[FILE_NAME]
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.