IS my API key wrong? I get this error: Error: The YouTube API key you provided was not a string.
Could you post the stack trace, and what video did this happen in?
Same, I get this error:
C:\Users\HPC\Desktop\EliteBotnode_modules\simple-youtube-api\src\index.js:26
if (typeof key !== 'string') throw new Error('The YouTube API key you provided was not a string.');
^
Error: The YouTube API key you provided was not a string.
at new YouTube (C:\Users\HPC\Desktop\EliteBotnode_modules\simple-youtube-api\src\index.js:26:44)
at Object.
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:282:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Never mind, fixed it
i have this issue also but yet my youtube key is correct
this isn't related to ytdl since it does not use the youtube api
Never mind, fixed it
how did you fixed it?
Never mind, fixed it
howww
Non importa, aggiustalo
How bro, pls...
Never mind, fixed it
can you tell me how you fixed it?
how u fixed this bug
Most helpful comment
Never mind, fixed it