Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Missing hash key: "browseEndpoint" (KeyError) #4182

Closed
ngn13 opened this issue Oct 19, 2023 · 1 comment
Closed

[Bug] Missing hash key: "browseEndpoint" (KeyError) #4182

ngn13 opened this issue Oct 19, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@ngn13
Copy link

ngn13 commented Oct 19, 2023

About 10 minutes ago I visited yewtu.be and searched for mr robot 402, which returned this error message:

Title: `Missing hash key: "browseEndpoint" (KeyError)`
Date: `2023-10-19T15:08:40Z`
Route: `/search?q=mr+robot+402`
Version: `2023.10.19-3609d72 @ master`

<details>
<summary>Backtrace</summary>
<p>
   
Missing hash key: "browseEndpoint" (KeyError)
  from /usr/lib/crystal/core/string.cr:5508 in '??'
  from /usr/lib/crystal/core/json/any.cr:144:5 in 'get_browse_id'
  from /usr/lib/crystal/core/indexable.cr:949:8 in 'process'
  from src/invidious/yt_backend/extractors.cr:845:17 in 'parse_item'
  from src/invidious/yt_backend/extractors.cr:892:14 in 'extract_items'
  from /usr/lib/crystal/core/array.cr:1128:11 in 'process'
  from src/invidious/routes/search.cr:55:17 in 'search'
  from lib/kemal/src/kemal/config.cr:92:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:94:12 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from src/invidious/helpers/handlers.cr:151:29 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next'
  from src/ext/kemal_static_file_handler.cr:106:14 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call'
  from /usr/lib/crystal/core/http/server/request_processor.cr:51:11 in 'handle_client'
  from /usr/lib/crystal/core/fiber.cr:146:11 in 'run'
  from ???
</p>
</details>

I was able to reproduce this on other instances with the exact same and similar queries such as mr robot 401
I think one of the results is breaking the parse_item function?

@ngn13 ngn13 added the bug Something isn't working label Oct 19, 2023
@github-actions github-actions bot added the duplicate This issue or pull request already exists label Oct 19, 2023
@github-actions
Copy link

Hello, your issue is a duplicate of this/these issue(s):

If this is a mistake please explain why and ping @\unixfox, @\SamantazFox and @\TheFrenchGhosty.

Please refrain from opening new issues, it won't help in solving your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

1 participant