-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi, I'm trying to use Invidious Companion but I'm getting the following error when making a request to /youtubei/v1/player
My config file seems to be recognized, but this error happens whenever I call the player endpoint.
Any idea what might be causing this error?
<-- POST /youtubei/v1/player
TypeError: tokenMinter is not a function
at youtubePlayerReq (file:///tmp/deno-compile-invidious_companion/src/lib/helpers/youtubePlayerReq.ts:49:34)
at youtubePlayerParsing (file:///tmp/deno-compile-invidious_companion/src/lib/helpers/youtubePlayerHandling.ts:46:45)
at eventLoopTick (ext:core/01_core.js:179:7)
at async file:///tmp/deno-compile-invidious_companion/src/routes/youtube_api_routes/player.ts:13:13
at async dispatch (https://jsr.io/@hono/hono/4.7.4/src/compose.ts:51:17)
at async bearerAuth (https://jsr.io/@hono/hono/4.7.4/src/middleware/bearer-auth/index.ts:157:5)
at async dispatch (https://jsr.io/@hono/hono/4.7.4/src/compose.ts:51:17)
at async logger (https://jsr.io/@hono/hono/4.7.4/src/middleware/logger/index.ts:91:5)
at async dispatch (https://jsr.io/@hono/hono/4.7.4/src/compose.ts:51:17)
at async file:///tmp/deno-compile-invidious_companion/src/main.ts:121:5
--> POST /youtubei/v1/player 500 6ms