[Bug]: Error message stalling download queue - "Task failed: 'entries"

Author: Generic6928Created Apr 30, 2026Updated Aug 7, 2026
Labelsbug

I've read the documentation

  • I'm running the latest version of Tube Archivist and have read the release notes.
  • I'm beta testing and am running the latest unstable build.
  • I have read the how to open an issue guide, particularly the bug report section. I've double checked that I don't open a yt-dlp issue here.

Operating System

ARM64, Docker

Your Bug Report

Describe the bug

Download queue stalls whenever trying to process puVYtkh-LO4 after retrieval in conditions that do not provide errors for other video files.

Steps To Reproduce

Running v0.5.10 Add puVYtkh-LO4 to your download queue, only tested with bestvideo[height<=1080][vcodec*=avc1]+bestaudio[acodec*=mp4a]/mp4 and en, de subtitles otherwise default configuration

Expected behavior

Video would successfully download and process, and when/if failing to process would fail gracefully and move along to the next video.

(adding some sections in case they're helpful)

Troubleshooting steps taken

Tried setting the video to ignore and moving to next item in queue via Download page. Rebuilding container via docker compose down/up without changes Setting env var to downlaod yt-dlp nightly build in case it is a change on youtube's end as I saw in yt-dlp chat that a few changes on the yt end had occurred though none I could ID quite matched this behavior and rebuilding container again. colleague restored download queue by manually deleting, so logs are without DJANGO_DEBUG until a change window comes up.

Relevant log output

bash
from tubeArchivist container, sans DJANGO_DEBUG 
[2026-04-27 09:47:09,103: WARNING/ForkPoolWorker-1] UCHcMtE3EiKmqrJZBZyUBuRQ: get metadata from youtube
[2026-04-27 09:47:10,136: WARNING/ForkPoolWorker-1] refreshed stored cookie_temp
[2026-04-27 09:47:10,440: WARNING/ForkPoolWorker-1] 45b5b764-1aec-4b18-ba49-1c2f6b7a4ff7 Failed callback
[2026-04-27 09:47:10,450: ERROR/ForkPoolWorker-1] Task download_pending[45b5b764-1aec-4b18-ba49-1c2f6b7a4ff7] raised unexpected: KeyError('entries')
Traceback (most recent call last):
  File "/root/.local/lib/python3.13/site-packages/celery/app/trace.py", line 585, in trace_task
    R = retval = fun(*args, **kwargs)
                 ~~~^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.13/site-packages/celery/app/trace.py", line 858, in __protected_call__
    return self.run(*args, **kwargs)
           ~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/app/task/tasks.py", line 136, in download_pending
    downloaded, failed = downloader.run_queue(auto_only=auto_only)
                         ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/app/download/src/yt_dlp_handler.py", line 83, in run_queue
    vid_dict = index_new_video(youtube_id, video_type=video_type)
  File "/app/video/src/index.py", line 525, in index_new_video
    video.build_json()
    ~~~~~~~~~~~~~~~~^^
  File "/app/video/src/index.py", line 172, in build_json
    self._add_channel()
    ~~~~~~~~~~~~~~~~~^^
  File "/app/video/src/index.py", line 261, in _add_channel
    channel.build_json(upload=True, fallback=self.youtube_meta)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/channel/src/index.py", line 50, in build_json
    self.process_youtube_meta()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/channel/src/index.py", line 71, in process_youtube_meta
    "channel_tabs": self.get_channel_tabs(),
                    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/channel/src/index.py", line 120, in get_channel_tabs
    videos = get_last_channel_videos(
        channel_id=self.youtube_id,
    ...<2 lines>...
        query_filter=query_filter,
    )
  File "/app/channel/src/remote_query.py", line 134, in get_last_channel_videos
    for entry in channel_query["entries"]:
                 ~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'entries'
[2026-04-27 09:47:10,453: WARNING/ForkPoolWorker-1] 45b5b764-1aec-4b18-ba49-1c2f6b7a4ff7 return callback
Language set to en
[2026-04-27 09:47:10,453: DEBUG/ForkPoolWorker-1] Language set to en

Anything else?

Troubleshooting with replication on second machine by dev on Discord at https://discord.com/channels/920056098122248193/1498362098218963205 (thread title matching gui error message) Will keep an eye on this in the interim in case of other qs/developments/steps to take.

Source: tubearchivist/tubearchivist