hapheus / n8n-nodes-youtube

MIT License
0 stars 0 forks source link

Internal error in n8n 1.66.0 (Self Hosted) #1

Open SkillNetworkAI opened 1 week ago

SkillNetworkAI commented 1 week ago

Hi! Thank you for the great and usefull node

It runs perfectly but when i up und run a new n8n instance with latest version, i got the error when getting the video. Playlist and Channel are ok by the way.

Internal error

NodeOperationError: Internal error

    at Object.execute (/home/node/.n8n/nodes/node_modules/n8n-nodes-youtube/nodes/YoutubeVideosNode/YoutubeVideosNode.node.ts:279:12)

    at processTicksAndRejections (node:internal/process/task_queues:95:5)

    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:19)

    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:707:51

    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1137:20

Cannot read properties of undefined (reading 'videoId')

TypeError: Cannot read properties of undefined (reading 'videoId')

    at Function.loadBaseVideo (/home/node/.n8n/nodes/node_modules/youtubei/dist/cjs/youtube/BaseVideo/BaseVideoParser.js:14:44)

    at Video.load (/home/node/.n8n/nodes/node_modules/youtubei/dist/cjs/youtube/BaseVideo/BaseVideo.js:21:43)

    at Video.load (/home/node/.n8n/nodes/node_modules/youtubei/dist/cjs/youtube/Video/Video.js:30:15)

    at Client.<anonymous> (/home/node/.n8n/nodes/node_modules/youtubei/dist/cjs/youtube/Client/Client.js:94:55)

    at Generator.next (<anonymous>)

    at fulfilled (/home/node/.n8n/nodes/node_modules/youtubei/dist/cjs/youtube/Client/Client.js:5:58)

    at processTicksAndRejections (node:internal/process/task_queues:95:5)

is there any ideas how it can be fixed?

hapheus commented 1 week ago

Thanks for the feedback. I’ll take a look at it later today and try to fix it or add more detailed error messages.

hapheus commented 1 week ago

I just upgraded to the latest youtubei version. All operations are working. Do you have more details? Which video id did you try ?