YouTube Data API videos.insert 返回隐藏的“每天上传的视频数”429,尽管配额空间仍然充足
作者: k3v创建于 2026年5月27日更新于 2026年8月17日
标签type: bugpriority: p2
Summary Starting around May 24-25, 2026, uploads through the YouTube Data API videos.insert endpoint began failing after a small number of uploads per day with HTTP 429: json { "error": { "code": 429, "message": "Quota exceeded for quota metric 'Video Uploads' and limit 'Video Uploads per day' of service 'youtube.googleapis.com' for consumer 'project_number:REDACTED'.", "errors": [ { "message": "Quota exceeded for quota metric 'Video Uploads' and limit 'Video Uploads per day' of service 'youtube.googleapis.com' for consumer 'project_number:REDACTED'.", "domain": "global", "reason": "rateLimitExceeded" } ] } } This appears to be a hidden or newly enforced quota separate from the documented YouTube Data API quota-unit system. ## Expected behavior According to the YouTube Data API quota documentation: * Default project quota is 10,000 units/day * videos.insert costs 100 units * Quota resets at midnight Pacific Time A default project should therefore support roughly 100 uploads/day, assuming no other significant quota usage. If there is a separate Video Uploads per day quota, it should be documented and visible in Cloud Console / Cloud Quotas API so developers can monitor it and request increases. ## Actual behavior Uploads fail after roughly 7 uploads/day with: > Quota exceeded for quota metric 'Video Uploads' and limit 'Video Uploads per day' However: * Cloud Console shows YouTube Data API quota usage well below 100% * gcloud beta quotas info list --service=youtube.googleapis.com does not expose a Video Uploads per day metric * Cloud Quotas API also does not appear to expose this metric * Manual uploads through YouTube Studio to the same channel still work ## Environment * API: YouTube Data API v3 * Method: videos.insert * Library: google-api-Python-client * Version tested: 2.196.0 * Upload type: resumable upload * Auth scope: https://www.googleapis.com/auth/youtube.upload * Project has YouTube Data API enabled * OAuth app, project, and channel are unchanged from before the regression ## Minimal code shape media = MediaFileUpload(path, chunksize=-1, resumable=True) request = youtube.videos().insert( part="snippet,status", body={ "snippet": { "title": title, "description": description, }, "status": { "privacyStatus": "private", }, }, media_body=media, ) response = None while response is None: status, response = request.next_chunk() ## Additional evidence Multiple developers appear to be reporting the same behavior in the same timeframe: API uploads fail after a small number of videos, while Cloud Console still shows quota headroom and manual YouTube Studio uploads still work. Related Reddit discussion: https://old.reddit.com/r/googlecloud/comments/1tm1scx/429_quota_exceeded/ ## Request Could you please confirm: 1. whether Video Uploads per day is a new quota that is not documented in the YouTube Data API quota documentation? 2. whether this quota is enforced for all projects, or only for projects that have YouTube Data API enabled? 3. whether this quota is enforced for all methods, or only for videos.insert? 4. whether this quota is enforced for all scopes, or only for https://www.googleapis.com/auth/youtube.upload? 5. whether this quota is enforced for all channels, or only for channels that are not in the same project as the project that has YouTube Data API enabled? 6. whether this quota is enforced for all uploads, or only for resumable uploads? 7. whether this quota is enforced for all media types, or only for MediaFileUploads? 8. whether this quota is enforced for all media files, or only for media files that are not in the same project as the project that has YouTube Data API enabled? 9. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 10. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 11. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 12. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 13. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 14. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 15. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 16. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 17. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 18. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 19. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 20. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 21. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 22. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 23. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 24. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 25. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 26. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 27. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 28. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 29. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 30. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 31. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 32. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 33. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 34. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 35. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 36. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 37. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 38. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 39. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 40. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 41. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 42. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 43. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 44. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 45. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 46. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 47. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 48. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 49. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 50. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 51. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 52. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 53. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 54. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 55. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 56. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 57. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 58. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 59. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 60. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 61. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 62. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 63. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 64. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 65. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 66. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 67. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 68. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 69. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 70. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 71. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 72. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 73. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 74. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 75. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 76. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 77. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 78. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 79. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 80. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 81. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 82. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 83. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 84. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 85. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 86. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 87. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 88. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 89. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 90. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 91. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 92. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 93. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 94. whether this quota is enforced for all uploads, or only for uploads that are not in the same project as the project that has YouTube Data API enabled? 95. whether this quota is enforced for all uploads, or only for uploads that are not in the
内容来源: googleapis/google-api-python-client