1

我正在尝试使用 google cloud 在 GitHub 上提供的 Video Intelligence API 代码,这里是代码的链接:https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/video/cloud-client/analyze/analyze.py

当我尝试运行代码时,出现以下错误:

google.gax.errors.RetryError:GaxError(重试方法发生异常,未归类为瞬态,由 RPC 的 <_Rendezvous 以 (StatusCode.PERMISSION_DENIED) 终止,Google Cloud Video Intelligence API 尚未用于项目可用验证-library before 或已禁用。通过访问 https://console.developers.google.com/apis/api/videointelligence.googleapis.com/overview?project=usable-auth-library启用它, 然后重试。如果您启用了它API 最近,等待几分钟让操作传播到我们的系统并重试。)>)

API 已启用,我已通过使用 curl 向 GoogleCloud 发送请求来验证和测试身份验证。

有人可以帮助解决这个错误吗?

4

0 回答 0