【发布时间】:2018-06-08 13:02:55
【问题描述】:
我尝试使用以下 API 将 youtube 视频评论状态从“已发布”更改为“保留评论”,并成功更改了评论状态。
https://www.googleapis.com/youtube/v3/comments/setModerationStatus?id={COMMENT_ID}&moderationStatus=heldForReview&key={API_KEY}
当我尝试将评论状态从“heldForReview”更改为“已发布”(使用与 moderationStatus=published 相同的上述 API)时,我收到了以下错误
{
"error": {
"errors": [
{
"domain": "youtube.comment",
"reason": "processingFailure",
"message": "The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid.",
"locationType": "parameter",
"location": "id"
}
],
"code": 400,
"message": "The API server failed to successfully process the request. While this can be a transient error, it usually indicates that the requests input is invalid."
}
}
我还尝试使用谷歌开发者 API 资源管理器将评论状态从“heldForReview”更改为“已发布”,但收到了同样的错误。
我非常感谢任何解决方案。
【问题讨论】:
标签: youtube-api youtube-data-api