每天查询的YouTube Data API v3配额设置为0

问题描述 投票:8回答:1

我们正在使用YouTube Data API v3很长一段时间但突然之间它开始响应错误403,说明需要启用访问权限。

这是错误消息:

{
  "code": 403,
  "errors": [
    {
      "domain": "usageLimits",
      "message": "Access Not Configured. YouTube Data API has not been used in project {projectId} before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project={projectId} then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
      "reason": "accessNotConfigured",
      "extendedHelp": "https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project={projectId}"
    }
  ],
  "message": "Access Not Configured. YouTube Data API has not been used in project {projectId} before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube.googleapis.com/overview?project={projectId} then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
}

我们已禁用并重新启用所有api wee use(youtube-data-api-v3,contacts api,google + api)。我们还尝试生成新的客户端ID和客户端密钥,但没有成功。

最后,我们注意到每天请求的配额已设置为0.这肯定是为什么请求我们无法向API发出任何请求的理由,但我们无法更改此值。

以前有人遇到过这个问题吗?我该怎么办才能提高配额限额?

youtube youtube-api youtube-data-api
1个回答
-1
投票

在某处您应该链接到结算帐户,然后您可以将限制从零提高到任何值。

© www.soinside.com 2019 - 2024. All rights reserved.