多年来,我一直使用Youtube data api v3来获取YouTube视频列表。
突然,YouTube API不能与'quotaExceeded‘一起工作。
W/System.err: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
W/System.err: {
W/System.err: "code" : 403,
W/System.err: "errors" : [ {
W/System.err: "domain" : "youtube.quota",
W/System.err: "message" : "The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota</a>.",
W/System.err: "reason" : "quotaExceeded"
W/System.err: } ],
W/System.err: "message" : "The request cannot be completed because you have exceeded your <a href=\"/youtube/v3/getting-started#quota\">quota</a>."
W/System.err: }我该如何解决这个问题?YouTube Data API有什么变化吗?
谢谢,波雷罗。
发布于 2020-07-22 09:41:46
错误就是它的本质。您已超过您的请求配额。您需要停止请求,直到您的配额余额重建。我建议您在收到该配额时实施退款。您可能还想检查您的响应头,看看是否有什么东西表明您可以在该时间段内进行更多调用。
您还可以在Google Api控制台中查看您的使用情况。通常在您的Google Cloud控制台中。
https://stackoverflow.com/questions/63025470
复制相似问题