2

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:custom-vision@appspot.gserviceaccount.com"
--role="roles/storage.admin"

I receive the following error:

ERROR: (gcloud.projects.add-iam-policy-binding)
INVALID_ARGUMENT: Service account custom-vision@appspot.gserviceaccount.com does not exist.

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

NilsB
  • 21
  • 3

1 Answers1

1

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.

Rally H
  • 132
  • 6
  • But this tutorial is not about the global "custom-vision@appspot.gserviceaccount.com" service account. Still have the same error at step 8. Did you change anything else? – NilsB Oct 13 '20 at 11:39
  • Based on the error, as this is a global service account, it is not being used anymore. – Rally H Oct 14 '20 at 05:58