Open an old YouTube playlist and you will often see a line near the top: "Unavailable videos are hidden" . Behind it sit every video in the playlist that has since been made private or deleted. YouTube keeps the entries, hides them by default, and gives you no way to clear them except one at a time.
I built TidyList, a web app for cleaning up big YouTube playlists, on the YouTube Data API v3, and clearing these entries was one of the first things it had to do. Here is what they actually are to the API, the two traps I hit finding them, and how to remove them.
The manual way
Open the playlist on YouTube, open its menu and choose Show unavailable videos .
Scroll the whole playlist looking for the greyed-out Private video and Deleted video entries.
For each one, open its menu and choose Remove from playlist .
Fine for three entries.…