gpt4 book ai didi

php - 创建过多播放列表时出错?

转载 作者:行者123 更新时间:2023-12-04 04:42:33 24 4
gpt4 key购买 nike

我使用了 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."
}
}

我在 10 分钟内创建了 10 个播放列表,收到了这条消息。
经过一些搜索,似乎在创建 10 个播放列表后会显示此消息;与时间范围无关,例如 10 秒或 10 分钟或更长时间。

我们可以了解有关此新错误的更多详细信息吗?也许有时间表信息?重试后 header ?某物 ?

谢谢你。

此处的 Google 问题跟踪器 => https://issuetracker.google.com/issues/79222309

最佳答案

Youtube API v3 有基于“单位”的限制

Daily quota: 1 000 000 units.

*Please, keep in mind that when you perform insert and update operations, they write data and so also return a resource. So the operation of inserting a playlist requires a quota of 50 units for the write operation, and the cost of the returned playlist resource.


这是一个方便的配额计算器: https://developers.google.com/youtube/v3/determine_quota_cost
来源: https://elfsight.com/blog/2017/06/youtube-data-api-v3-limits-operations-resources-methods-etc/

关于php - 创建过多播放列表时出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50170618/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com