当我使用 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)