简体   繁体   English

GCP 上的 API 网关错误:API 网关管理服务代理无权为服务创建服务配置

[英]API Gateway Error on GCP : API Gateway Management Service Agent does not have permission to create Service Configs for Service

Getting the error " API Gateway Management Service Agent does not have permission to create Service Configs for Service ", while creating a API Gateway on GCP.在 GCP 上创建 API 网关时出现错误“ API 网关管理服务代理没有权限为服务创建服务配置”。 The API gets created but not the gateway. API 已创建,但未创建网关。 How do I fix this?我该如何解决? I personally have OWNER level access on the project and I am using compute engine service account for API Gateway ( which has editor access).我个人拥有该项目的 OWNER 级别访问权限,并且我正在使用 API 网关(具有编辑权限)的计算引擎服务帐户。 What am I missing?我错过了什么? Thanks谢谢

You could review if your API Gateway service account has the the roles您可以查看您的 API 网关服务帐户是否具有角色

--role roles/apigateway.serviceAgent --role 角色/apigateway.serviceAgent

--role roles/apigateway_management.serviceAgent --role 角色/apigateway_management.serviceAgent

You can find more info about the roles in this link您可以在此链接中找到有关角色的更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM