超出了YouTube配额 [英] YouTube quotas exceeded
本文介绍了超出了YouTube配额的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是开发人员,我想使用YouTube数据API v3上传视频,但始终会返回错误代码超出".我从未成功上传视频,这很奇怪...
I'm developer and I want to upload a video using the YouTube Data API v3, but it always return the error code "quotas exceeded". I never succeeded upload a video so it's strange...
您是否有解决此问题的方法或要联系的支持地址邮件以解决该问题?
Do you have a solution for this problem or support address mail to contact in order to solve the problem ?
我将带有附件的视频发送到API:
I send to the API that video with attachment:
curl --request POST \
--url 'https://www.googleapis.com/upload/youtube/v3/videos?part=snippet%2Cstatus' \
--header 'authorization: Bearer MyAccessToken' \
--header 'cache-control: no-cache' \
--header 'content-type: application/octet-stream'
这是错误:
{
"error": {
"errors": [{
"domain": "youtube.quota",
"reason": "quotaExceeded",
"message": "The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota</a>."
}],
"code": 403,
"message": "The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota</a>."
}
}
推荐答案
我遇到了同样的问题,发现每日查询"limit设置为0.我用新密钥创建了一个新项目.新项目每天的报价为1万.问题解决了.
I had the same issue and found out that the "Queries per day" limit was set to 0. I created a new project, with a new key. The new project got a quotum of 10k per day. Problem solved.
这篇关于超出了YouTube配额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文