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

6.0.2 - InnertubeError: Something went wrong at HorizontalList! #483

Closed
4 tasks done
ghost opened this issue Aug 26, 2023 · 0 comments · Fixed by #500
Closed
4 tasks done

6.0.2 - InnertubeError: Something went wrong at HorizontalList! #483

ghost opened this issue Aug 26, 2023 · 0 comments · Fixed by #500
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Aug 26, 2023

Steps to reproduce

  • Using getHomeFeed() to get youtube video feed
  • At some request it returns 'Error: Type mismatch, got HorizontalList but expected HorizontalCardList\n' in console.

Failure Logs

InnertubeError: Something went wrong at HorizontalList!
This is a bug, please report it at https://github.com/LuanRT/YouTube.js/issues
    at Parser._Parser_printError (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:401:18)
    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:239:77)
    at new ExpandableMetadata (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/ExpandableMetadata.js:18:40)
    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)
    at new Video (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/Video.js:29:43)
    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)
    at new RichItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/RichItem.js:6:31)
    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)
    at Parser.parseArray (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:249:37)
    at new RichGrid (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/RichGrid.js:9:32) {
  info: {
    stack: 'Error: Type mismatch, got HorizontalList but expected HorizontalCardList\n' +
      '    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:232:31)\n' +
      '    at new ExpandableMetadata (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/ExpandableMetadata.js:18:40)\n' +
      '    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)\n' +
      '    at new Video (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/Video.js:29:43)\n' +
      '    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)\n' +
      '    at new RichItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/RichItem.js:6:31)\n' +
      '    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)\n' +
      '    at Parser.parseArray (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:249:37)\n' +
      '    at new RichGrid (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/classes/RichGrid.js:9:32)\n' +
      '    at Parser.parseItem (file:///D:/yt/node_modules/youtubei.js/dist/src/parser/parser.js:234:32)'
  },
  date: 2023-08-26T15:02:40.857Z,
  version: '6.0.2'
}

Expected behavior

Receive Feed video from getHomeFeed()

Current behavior

Getting Error: Type mismatch, got HorizontalList but expected HorizontalCardList\n

Version

Default

Anything else?

No response

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
@ghost ghost added the bug Something isn't working label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants