简体   繁体   English

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

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

i am using google cloud platform's vision API to request the api i am using API key provided by them authentication documentation in this link iam authenticating using API key when i POST URL along with the API Key the following response arrived.我正在使用谷歌云平台的视觉 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]"
      }
    ]
  }
]
  }
}

i crossed checked my Console's Billing panel it shows me我越过检查了我的控制台的帐单面板,它显示了我

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.

i am using the same sample application in my home machine there works fine我在我的家用机器上使用相同的示例应用程序工作正常

but i got this error in setting up another machine但是我在设置另一台机器时遇到了这个错误

Have a look at the documentation 90-day, $300 Free Trial :查看文档90 天,300 美元免费试用

The 90-day, $300 Free Trial period starts automatically when you complete your signup. 90 天 300 美元的免费试用期在您完成注册后自动开始。

To complete your Free Trial signup, you must provide a credit card or other payment method to set up a Cloud Billing account and verify your identity .要完成免费试用注册,您必须提供信用卡或其他付款方式来设置 Cloud Billing 帐号并验证您的身份

Also, have a look at the error message:另外,看看错误信息:

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.访问付款概览页面以确保您的付款信息是最新的并支付任何未结费用。

To solve you issue you should update your payment information, as it was suggested by @Shibboleet in the comment section.要解决您的问题,您应该更新您的付款信息,正如@Shibboelet在评论部分所建议的那样

Furthermore, 90-day, $300 Free Trial have some limitations that described in Program coverage.此外, 90 天 300 美元的免费试用有一些限制,如计划范围中所述。

暂无
暂无

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

相关问题 谷歌云视觉 API“PERMISSION_DENIED” - Google Cloud Vision API “PERMISSION_DENIED” 谷歌云服务 API 启用/禁用:错误:(gcloud.services.enable)PERMISSION_DENIED:权限被拒绝启用服务 - Google Cloud Service API enable/disable: ERROR: (gcloud.services.enable) PERMISSION_DENIED: Permission denied to enable service Google Cloud Storage Transfer Service 失败并出现 PERMISSION_DENIED 错误 - Google Cloud Storage Transfer Service fails with PERMISSION_DENIED error Google Cloud Pub/Sub 拉取 PERMISSION_DENIED - Google Cloud Pub/Sub Pull PERMISSION_DENIED 代码 403:“请求缺少有效的 API 密钥。” PERMISSION_DENIED 服务帐户密钥 Google Cloud 语音到 python 中的文本 api” - Code 403 : “The request is missing a valid API key.” PERMISSION_DENIED Service Account Key Google Cloud speech to text api in python" 代码403:“请求缺少有效的API密钥。” PERMISSION_DENIED服务帐户密钥Google Cloud Vision PHP - Code 403 : “The request is missing a valid API key.” PERMISSION_DENIED Service Account Key Google Cloud Vision PHP 访问谷歌云平台计费api - Access Google cloud platform billing api Google Cloud Source Repository:远程:PERMISSION_DENIED:调用者没有远程权限 - Google Cloud Source Repository: remote: PERMISSION_DENIED: The caller does not have permission remote 使用 Google Cloud DataPrep 运行作业时出现问题 - 用户没有 bigquery.jobs.create - PERMISSION_DENIED - Problem to run job with Google Cloud DataPrep - User does not have bigquery.jobs.create - PERMISSION_DENIED Google Cloud Vision API 权限被拒绝 - Google Cloud Vision API Permission Denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM