使用Google API Explorer为私人视频设置时间表时出错

时间:2019-04-11 09:26:03

标签: youtube-api youtube-data-api

问题:为什么会出现此错误?错误消息不提供信息/帮助。请协助解决。

我试图在Google APIs Explorer上对此进行模拟:

https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.videos.update

零件:状态

{
 "id": "3zZ1lCz-rp4",
 "status": {
  "privacyStatus": "private",
  "publishAt": "2019-04-12T12:12:12.12Z"
 }
}

但是不起作用。得到回应:

{
 "error": {
  "errors": [
   {
    "domain": "youtube.video",
    "reason": "invalidVideoMetadata",
    "message": "The request metadata is invalid.",
    "locationType": "other",
    "location": "body"
   }
  ],
  "code": 400,
  "message": "The request metadata is invalid."
 }
}

0 个答案:

没有答案