Google Cloud AutoML Vision API-服务帐户custom-vision@appspot.gserviceaccount.com不存在

问题描述

我目前正在研究有关Google Cloud AutoML Vision API的教程。

当我尝试执行此命令时(步骤8):

gcloud projects add-iam-policy-binding [our-project-id]
--member="serviceAccount:custom-vision@appspot.gserviceaccount.com"
--role="roles/storage.admin"

我收到以下错误:

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

这是Google提供的全球服务帐户。 我该如何解决?

解决方法

我也尝试复制您在项目中遵循的教程,并且遇到相同的错误。

作为一种解决方法,我搜索了其他教程,并找到了这个1。我按照步骤操作,再也没有遇到问题。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...