VertexAI Dataset error when accessing Cloud Storage Bucket

Hello all,

I have a data set on Cloud Storage Bucket. I uploaded a .csv in Vertex AI Datasets with labels to each image in the Cloud Storage Bucket. Once it tries to import, I get the following message :

" Unable to import data due to errors. "

When I click more details, I get the following error message repeated multiple times for different images :

" Error: Permission denied on gs://bucket/file (or it may not exist). Does x@y.com have permission to read? for: gs://bucket/labels.csv line x "

When I verify the Storage Bucket, the files in question exist, and the AI Platform Service Agent email has an inherited permission on the Bucket.

Can anyone help me figure out how to solve this issue?

Thank you so much!

1 5 1,081
5 REPLIES 5

I am having the same issue. Someone, please help. My dataset consists in thousands of files.... it is just not possible to upload by hand.

did you get an answer @hmiura 

I have the exact same problem.

And you would think GOOGLE will be clever enough to include a small image showing the "data preparation" in the CSV or JSON file to make it user friendly.

They skip that part as if we are simply uploading a PDF onto Google Cloud.  Very unfortunate of them.

did you get an answer @Kalhosni 

Did anyone figure this out?  I have gone into the bucket & set permissions based on error message:

 

 
> Error: Permission denied on gs://images/12-22-23submitted_review_1130-1218/dry.jpeg (or it may not exist). Does service-#####@gcp-sa-aiplatform.iam.gserviceaccount.com have permission to read? for: gs://{bucket}/Untitled spreadsheet - Sheet2 (1).csv line 1

```

Storage Legacy Bucket Reader
Storage Legacy Object Reader
Storage Object Viewer
```
 
I have tried setting perms on both buckets.  What needs to happen to make this work?
Top Labels in this Space