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

Jon*_*han 8 youtube youtube-api youtube-data-api

我们正在使用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."
}
Run Code Online (Sandbox Code Playgroud)

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

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

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

小智 -2

有人说您应该链接到一个计费帐户,然后您可以将限制从零提高到任何值。

  • 你好 DoubleB,欢迎来到 Stack Overflow。某处哪里?您能否列出您的信息来源,并引用重要部分?请参阅[如何回答](https://stackoverflow.com/help/how-to-answer)。 (2认同)