小编Pat*_*018的帖子

YouTube 数据 API:无法完成请求,因为您已超出配额 INSUFFICIENT_TOKENS

当我使用 Python 程序将视频上​​传到 YouTube 时出现问题。在发生这种情况之前,我有很多天没有使用它来上传,所以它不应该超过配额。我试了很多次,它有同样的错误。

以下是错误:

[RequestError] 服务器响应:

{
  "error": {
    "code": 403,
    "message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
    "errors": [
      {
        "message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
        "domain": "youtube.quota",
        "reason": "quotaExceeded",
        "debugInfo": "Code: 8; Description: ?metric=youtube.googleapis.com/default&limit=defaultPerDayPerProject&qs_error_code=INSUFFICIENT_TOKENS"
      }
    ]
  }
}
Run Code Online (Sandbox Code Playgroud)

youtube-api quota youtube-data-api

9
推荐指数
1
解决办法
7447
查看次数

标签 统计

quota ×1

youtube-api ×1

youtube-data-api ×1