[英]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.