0👍
Is it possible that the first item in the array doesn’t have a maxres property? The way I read the docs is that it’s that the maxres could be available for some, but isn’t a guarantee to be there.
https://developers.google.com/youtube/v3/docs/thumbnails
There is a default object too so you could do a check if maxres available use it, and then fallback on default.
Source:stackexchange.com