bla*_*nis 9 php youtube youtube-api google-api-php-client youtube-data-api
我使用了YouTube API,但最近在创建播放列表时出现了新错误:
{
"error": {
"errors": [
{
"domain": "youtube.playlist",
"reason": "exceededRateLimit",
"message": "The user has created too many playlists recently. Please try the request again later."
}
],
"code": 403,
"message": "The user has created too many playlists recently. Please try the request again later."
}
}
Run Code Online (Sandbox Code Playgroud)
我通过在10分钟内创建10个播放列表来获得此消息.经过一些搜索后,似乎在10个播放列表创建后显示此消息; 与10秒或10分钟或更长时间内的时间表无关.
我们能否了解有关此新错误的更多详情?也许有时间表信息?重试后头?什么?
谢谢.
Google问题跟踪器=> https://issuetracker.google.com/issues/79222309
Cha*_*gnn -2
Youtube API v3 有基于“单位”的限制
每日配额:1 000 000 单位。
*请记住,当您执行插入和更新操作时,它们会写入数据,因此也会返回资源。所以插入播放列表的操作需要写入操作50个单位的配额,以及返回的播放列表资源的成本。
这是一个方便的配额计算器:https ://developers.google.com/youtube/v3/define_quota_cost
来源:https ://elfsight.com/blog/2017/06/youtube-data-api-v3-limits-operations-resources-methods-etc/