Skip to content

Warn users when requested subtitle language != video's original language to avoid 429 on auto-translated subs #219

@juananpe

Description

@juananpe

Requesting auto-translated subtitles for a different language than the video's original language can trigger YouTube rate-limiting and cause our ingestion to fail with HTTP 429 (see yt-dlp/yt-dlp#13831). We should detect this case early and warn the user (or provide an explicit fallback) instead of failing with a 429 error.

Steps to reproduce

  1. Attempt to ingest a YouTube video whose original language is Spanish.
  2. Request subtitles in a different language (e.g., English auto-translated subs).
  3. Observe ingestion fail with 429: Too Many Requests (see logs).

Current behavior

  • Ingestion attempts to download auto-translated subtitles and fails with HTTP 429.
  • The error surfaces as an exception and the ingest is marked failed without a helpful user-facing message.

Expected behavior

  • Detect when the requested subtitle language differs from the video's original language or when the requested subs are auto-translated.
  • Present a clear, actionable warning to the user (and optionally fail gracefully) before attempting to download the auto-translated subs.

Acceptance criteria

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions