question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'items' from undefined" despite all playlists and channels existing

See original GitHub issue

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?

Issue Analytics

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

github_iconTop GitHub Comments

5reactions
JesperDramschcommented, Mar 19, 2019

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.

2reactions
Elijascommented, Mar 20, 2019

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

ReactJS - cannot read property 'items' of undefined
items) in the addItem method, I get this error. Uncaught TypeError: Cannot read property 'items' of undefined. Main ...
Read more >
playlistList - Uncaught TypeError: Cannot read property 'then ...
Jamming - feature request - - playlistList - Uncaught TypeError: Cannot read property 'then' of undefined. This is what I am trying to...
Read more >
TypeError: Cannot read property 'client' of undefined #8 - GitHub
When I try the play command, always after I say the name of the song it says in chat that something went wrong...
Read more >
cannot read properties of undefined (reading 'guess') - You.com
js I get the error message Uncaught TypeError: Cannot read properties of undefined (reading 'tracks') . If I use ffmpeg to properly convert...
Read more >
Cannot read property 'taskName' of undefined - Channels
When making a IVR test call, I keep seeing the below in the debug log. I see this in the script node I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found