Youtube api Youtube数据API V3-通过PHP代码上传视频显示错误
我从一年前开始使用下面的代码,但是突然出现了这样的错误 我正在使用以下url中提供的PHP代码示例 错误:Youtube api Youtube数据API V3-通过PHP代码上传视频显示错误,youtube-api,youtube-data-api,Youtube Api,Youtube Data Api,我从一年前开始使用下面的代码,但是突然出现了这样的错误 我正在使用以下url中提供的PHP代码示例 错误: { "error": { "errors": [{ "domain": "youtube.thumbnail", "reason": "videoNotFound", "message": "The video that you are trying to insert a thumbnai
{
"error": {
"errors": [{
"domain": "youtube.thumbnail",
"reason": "videoNotFound",
"message": "The video that you are trying to insert a thumbnail image for cannot be found. Check the value of the requests \u003ccode\u003evideoId\u003c/code\u003e parameter to ensure that it is correct.",
"locationType": "parameter",
"location": "videoId"
}],
"code": 404,
"message": "The video that you are trying to insert a thumbnail image for cannot be found. Check the value of the requests \u003ccode\u003evideoId\u003c/code\u003e parameter to ensure that it is correct."
}
}
我在捕捉错误之前打印了一条语句,我可以看到视频ID。我可以在我的视频url上看到一个wiered行为
没有评论框,没有建议的视频
其他任何人都面临这个问题,Youtube最近是否报告了一个错误/Bug?我遇到了完全相同的问题。代码一直运行良好,现在正在失败。在视频上传完成后,在设置缩略图之前,我增加了20秒的延迟,现在它似乎总是可以工作。因此,Youtube需要时间来消化视频。不过我很想听到更好的解决方案