auto-youtube-subscription-playlist-2: Cannot read property 'items' from undefined" despite all playlists and channels existing

Since yesterday, the script fails on every execution, with the error message “TypeError: Cannot read property "items" from undefined. (line 169, file "Code")”. I checked all playlist, user and channel IDs. I have also replaced “ALL” with an explicit list of all user/channel names/IDs.

Any idea what it could be?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

https://support.google.com/youtube/thread/2494861?hl=en

Search is broken at the moment.

On another note, you may be interested in my PR #33. Don’t update the timestamp upon error and don’t push over 200 videos.

@JesperDramsch I’ve merged the PR, thank you!

It seems that youtube might have purposefully broken their search (due to the New Zealand event), which might have affected API search that we use too, if that’s the case it’s possible that all we can do is wait. Although, I didn’t confirm this

@dudemario Thanks!