Skip to content

[Bug] Missing hash key: "label" (KeyError) #5221

@glitchbot12

Description

@glitchbot12

Describe the bug

Steps to Reproduce

Search Jazz or jazz and hit enter.

Logs

Title: Missing hash key: "label" (KeyError)
Date: 2025-03-26T21:43:16Z
Route: /search?q=Jazz
Version: 2025.03.24-7c9f79e @ master

Backtrace

Missing hash key: "label" (KeyError)
  from /usr/share/crystal/src/hash.cr:1196:9 in '??'
  from /usr/share/crystal/src/json/any.cr:247:3 in 'process'
  from src/invidious/yt_backend/extractors.cr:991:17 in 'parse_item'
  from src/invidious/yt_backend/extractors.cr:427:18 in 'process'
  from src/invidious/yt_backend/extractors.cr:991:17 in 'parse_item'
  from src/invidious/yt_backend/extractors.cr:1038:14 in 'extract_items'
  from src/invidious/search/processors.cr:12:18 in 'process'
  from src/invidious/routes/search.cr:61:17 in 'search'
  from lib/kemal/src/kemal/route.cr:13:9 in '->'
  from src/invidious/helpers/handlers.cr:31:37 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:32:7 in 'call_next'
  from lib/kemal/src/kemal/filter_handler.cr:22:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:32:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:95:12 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:32:7 in 'call_next'
  from src/ext/kemal_static_file_handler.cr:106:14 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call'
  from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'handle_client'
  from /usr/share/crystal/src/fiber.cr:148:11 in 'run'
  from ???

Screenshots

Image

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions