0

I am getting invalid combination of search filter error while retrieving the HD videos. this was the url - https://www.googleapis.com/youtube/v3/search?part=snippet&q=drama&videoDefinition=high&key={Developerkey}

Error report

{
 "error": {
  "errors": [
   {
    "domain": "youtube.search",
    "reason": "invalidSearchFilter",
    "message": "Invalid combination of search filters and/or restrictions.",
    "locationType": "parameter",
    "location": ""
   }
  ],
  "code": 400,
  "message": "Invalid combination of search filters and/or restrictions."
 }
}

Is it possible to retrieve HD videos? Please guide me. How can I get a response from this URL? Thanks

4

1 回答 1

4

您还需要包含type=video查询参数,因为仅当结果仅限于视频时,对高清进行过滤才有意义。

话虽如此,返回的错误消息实际上并没有帮助,我会要求工程团队对其进行修改,以便澄清问题所在。

于 2013-06-25T14:58:37.547 回答