Youtube视频上传在达到API配额限制之前被拒绝 [英] Youtube video uploads rejected before API quota limit reached

查看:1528
本文介绍了Youtube视频上传在达到API配额限制之前被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目的API配额通过申请流程成功增加到4M。通过启用API的 Google开发者控制台配额页面,详细了解配额的详细信息。



然而,仅仅在标准的50条上传消息之后,视频被拒绝了:


任务310:上传失败。例外:HttpError 400用户已超过他们可能上传的视频数量。


以下是一个成功发布的< video

成千上万的视频正在等待几天前完成的事件。来自谷歌的几个人一直在试图帮助,但今天早上我被要求发布Stack Overflow。

解决方案


badRequest(400)uploadLimitExceeded 用户已超过他们可能上传的视频数量。


这不是基于项目的配额。这是一个无法升级的基于用户的配额。这意味着有问题的用户已经超过了当天的上传限制。 YouTube API与其他Google API的配额系统略有不同。开发者控制台中列出的只是一般的。您应该查看计算配额使用情况



  • 每次读取两个资源部分的200,000次读取操作。
  • 10,000次写入操作和90,000个额外的读取操作,每个检索两个资源部分。

  • 400次视频上传,1500次写入操作和50,000次读取操作,每次读取两个资源部分 li>

美国西海岸时间午夜时分,此配额应重置。这听起来很奇怪,你只有50个视频后才看到这一点。我不是那么确定用户是什么,它可能是IP地址或经过身份验证的用户。


视频:插入

配额影响:对此方法的调用具有 #quota =nofollow noreferrer> quota cost 插入#部分rel =nofollow noreferrer>资源部分。



The API quota for my project was successfully increased to 4M through the application process. This is confirmed in the details for the quota via the Google Developer console quota page for the enabled API.

Videos are, however, being rejected with this message after just the standard 50 uploads with this message:

Task 310: Upload failed. Exception: HttpError 400 "The user has exceeded the number of videos they may upload."

Here is an example of a successfully published video.

Thousands of videos are waiting in the queue from an event that finished days ago. Several people from Google have been trying to help but this morning I was asked to post on Stack Overflow.

解决方案

badRequest (400) uploadLimitExceeded The user has exceeded the number of videos they may upload.

This isn't a project based quota which would have been upgraded. This is a user based quota which can not be upgraded. It means that the user in question has exceed their upload limit for the day. The YouTube API has a slightly different quota system than other Google APIs. The ones listed in developer console are just the general ones. You should check calculating quota usage

  • 200,000 read operations that each retrieve two resource parts.
  • 10,000 write operations and 90,000 additional read operations that each retrieve two resource parts.
  • 400 video uploads, 1500 write operations, and 50,000 read operations that each retrieve two resource parts.

This quota should reset at midnight West Coast USA time. It sounds strange to me that you are seeing this after only 50 videos. I am not all that sure what denotes a user; it could be IP address or the authenticated user.

Videos: insert
Quota impact: A call to this method has a quota cost of 1600 units in addition to the costs of the specified resource parts.

这篇关于Youtube视频上传在达到API配额限制之前被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆