Cloud Dataflow中的作业失败:启用Dataflow API [英] Failed job in Cloud Dataflow: enable Dataflow API
问题描述
我目前正在尝试将数据流与发布/订阅结合使用,但出现此错误:
I'm currently trying to use Dataflow with Pub/Sub but I'm getting this error:
工作流程失败.原因:(6e74e8516c0638ca):刷新凭据时出现问题.请检查: 1.为您的项目启用了Dataflow API. 2.您的项目有一个机器人服务帐户: service- [项目编号] @ dataflow-service-producer-prod.iam.gserviceaccount.com应该可以访问您的项目.如果此帐户未出现在您的项目的权限选项卡中,请联系Dataflow支持.
Workflow failed. Causes: (6e74e8516c0638ca): There was a problem refreshing your credentials. Please check: 1. Dataflow API is enabled for your project. 2. There is a robot service account for your project: service-[project number]@dataflow-service-producer-prod.iam.gserviceaccount.com should have access to your project. If this account does not appear in the permissions tab for yourproject, contact Dataflow support.
我试图查看API管理器以启用Dataflow API,但我根本找不到Dataflow.我也没有看到机器人服务帐户.
I tried to look in the API manager to enable Dataflow API but I can't find Dataflow at all. I'm also not seeing the robot service account.
推荐答案
您可以通过在API管理器中搜索数据流来查看API是否已启用(应枚举其是否已启用):
You can see whether the API is enabled by searching for dataflow within the API Manager (should enumerate whether its enabled or not):
要找到合适的机器人帐户,请在IAM页面中搜索 dataflow-service-producer-prod.iam.gserviceaccount.com :
To find the appropriate robot account, search for dataflow-service-producer-prod.iam.gserviceaccount.com within the IAM page:
最后,可能会使用快速入门指南
这篇关于Cloud Dataflow中的作业失败:启用Dataflow API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!