【问题标题】:403 status on deleting modules through gcloud preview app通过 gcloud 预览应用程序删除模块的 403 状态
【发布时间】:2015-10-07 06:14:45
【问题描述】:

我目前使用 gcloud preview app modules delete <module_name> --version <version_to_delete> 使用服务帐户清理托管 vm 的旧模块版本。直到上周,这一直很有效。我现在收到以下错误。

ERROR: (gcloud.preview.app.modules.delete) Error Response: [403] Project has not enabled the API. Please use Google Developers Console to activate the API for your project.
Details: [[{"@type": "type.googleapis.com/google.rpc.Help", "links": [{"description": "Google developer console API activation", "url": "https://console.developers.google.com/project/<project_id>/apiui/api"}]}]]

更多细节:

  1. 使用我的 google 个人帐户允许我删除模块版本
  2. 我目前将服务帐户设置为gcloud auth activate-service-account <some_id>@developer.gserviceaccount.com --key-file gcloud.json

【问题讨论】:

  • AppEngine 团队正在对此进行调查。

标签: gcloud


【解决方案1】:

您必须在 Developers Console 中启用“App Engine Admin API”才能使用服务帐户删除模块:

  1. 转到https://console.developers.google.com/
  2. 导航到 API 和身份验证 > API
  3. 查找并启用“App Engine Admin API”

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-02-05
    • 2023-01-19
    • 2023-04-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多