Very nice until I got the next error when I added the
videoDuration parameter to the search query. In the API doc, I didn’t find about required fields when using this parameter.
In this case, just add the parameter
type with the value
video. In the NodeJS client that I used I added:
Read more on YouTube API Doc