simple-youtube-api icon indicating copy to clipboard operation
simple-youtube-api copied to clipboard

Error: The YouTube API key you provided was not a string.

Open Pad-Design opened this issue 4 years ago • 2 comments

C:\Users\krmme\Desktop\muzuklu pee7\node_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\krmme\Desktop\muzuklu pee7\node_modules\simple-youtube-api\src\index.js:26:44) at Object. (C:\Users\krmme\Desktop\muzuklu pee7\komutlar\muzuk-yardim.js:6:17) at Module._compile (node:internal/modules/cjs/loader:1102:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1131:10) at Module.load (node:internal/modules/cjs/loader:967:32) at Function.Module._load (node:internal/modules/cjs/loader:807:14) at Module.require (node:internal/modules/cjs/loader:991:19) at require (node:internal/modules/cjs/helpers:92:18) at Object. (C:\Users\krmme\Desktop\muzuklu pee7\bot.js:522:19) at Module._compile (node:internal/modules/cjs/loader:1102:14)

my api is already writed with string, also i tried refreshing the api key, please help.

Pad-Design avatar Jan 27 '21 17:01 Pad-Design

The same issue has started occurring with me. pls help

kshitijraj-06 avatar Mar 10 '21 07:03 kshitijraj-06

it works with me but i use config.json file

ghost avatar Apr 16 '21 13:04 ghost