繁体   English   中英

Permission_Denied [谷歌云平台]:此API方法需要启用计费

[英]Permission_Denied [google cloud platform]: This API method requires billing to be enabled

我正在使用谷歌云平台的视觉 API 来请求 API 我正在使用他们在此链接中的身份验证文档中提供的 API 密钥 我使用 API 密钥进行身份验证当我 POST URL 和 API 密钥时,以下响应到达。

{
    "error": {
    "code": 403,
    "message": "This API method requires billing to be enabled. Please 
                 enable billing on project santram-194814 by visiting 
                 https://console.developers.google.com/billing/enable?
                 project=[my-project-name] then retry. If you enabled 
                 billing for this project recently, wait a few minutes for 
                 the action to propagate to our systems and retry.",
    "status": "PERMISSION_DENIED",
    "details": [
          {
          "@type": "type.googleapis.com/google.rpc.Help",
          "links": [
                 {
                  "description": "Google developers console billing",
                  "url": 
                 "https://console.developers.google.com/billing/enableproject=[my-project-name]"
      }
    ]
  }
]
  }
}

我越过检查了我的控制台的帐单面板,它显示了我

Your payment information could not be processed. Visit the payment overview page to make sure your payment information is up to date and to pay any outstanding charges.

我在我的家用机器上使用相同的示例应用程序工作正常

但是我在设置另一台机器时遇到了这个错误

查看文档90 天,300 美元免费试用

90 天 300 美元的免费试用期在您完成注册后自动开始。

要完成免费试用注册,您必须提供信用卡或其他付款方式来设置 Cloud Billing 帐号并验证您的身份

另外,看看错误信息:

无法处理您的付款信息。 访问付款概览页面以确保您的付款信息是最新的并支付任何未结费用。

要解决您的问题,您应该更新您的付款信息,正如@Shibboelet在评论部分所建议的那样

此外, 90 天 300 美元的免费试用有一些限制,如计划范围中所述。

暂无
暂无

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

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