I added a check for youtube_id (and an error response if not specified), then index.