diff --git a/playlet-lib/src/components/ContentNode/PlaylistContentTask.bs b/playlet-lib/src/components/ContentNode/PlaylistContentTask.bs index 8b49e5ac..b75beccd 100644 --- a/playlet-lib/src/components/ContentNode/PlaylistContentTask.bs +++ b/playlet-lib/src/components/ContentNode/PlaylistContentTask.bs @@ -35,6 +35,14 @@ function PlaylistContentTask(input as object) as object } end if + if metadata.DoesExist("error") + contentNode.loadState = FeedLoadState.Error + return { + success: false + error: metadata.error + } + end if + ' TODO:P2 To remove after https://github.com/iv-org/invidious/pull/5116 if IsString(metadata["mixId"]) and IsArray(metadata["videos"]) videos = metadata["videos"]