Google Cloud AutoML Vision API - Service account custom-vision@appspot.gserviceaccount.com does not exist

Viewed 373

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?

1 Answers

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.

Related