Solar-Tweaks / SolarStats-Old

Mincraft proxy server to fetch player's stats on Hypixel and much more!
GNU General Public License v3.0
20 stars 12 forks source link

Invalid api key #40

Open KapitanyGECI opened 2 years ago

KapitanyGECI commented 2 years ago

C:\Users(user)\Desktop\SolarStats\node_modules\hypixel-api-reborn\src\Private\requests.js:24 if (res.status === 403) throw new Error(Errors.INVALID_API_KEY); ^

Error: [hypixel-api-reborn] Invalid API Key! For help join our Discord Server https://discord.gg/NSEBNMM at Requests.request (C:\Users(user)\Desktop\SolarStats\node_modules\hypixel-api-reborn\src\Private\requests.js:24:35) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Client._makeRequest (C:\Users(user)\Desktop\SolarStats\node_modules\hypixel-api-reborn\src\Client.js:70:20) at async Object.module.exports (C:\Users(user)\Desktop\SolarStats\node_modules\hypixel-api-reborn\src\API\getKeyInfo.js:4:15)

TBHGodPro commented 2 years ago

I dont see how this is confusing..

go to your config.json inside solarstats, change the api key to your current api key which you can get by typing /api new in game in hypixel, then run npm run build in the console again