2
votes

I am currently working on a tutorial about the Google Cloud AutoML Vision API.

When I try to execute this command (step 8):

gcloud projects add-iam-policy-binding [our-project-id]
--member="serviceAccount:[email protected]"
--role="roles/storage.admin"

I receive the following error:

ERROR: (gcloud.projects.add-iam-policy-binding)
INVALID_ARGUMENT: Service account [email protected] does not exist.

It is a Google provided global service account. How do I fix it?

1
hm and are AutoML Vision APIs enabled for the same project you're using in gcloud command? - Anna Slastnikova
yes, cloud vision api is enabled - NilsB

1 Answers

1
votes

I tried replicating the tutorial you followed in my project as well and encountered the same error.

As a workaround, I searched for other tutorials and found this one 1. I followed the steps and did not encounter the issue anymore.