Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Invalid api key #40

Open
KapitanyGECI opened this issue Aug 9, 2022 · 1 comment
Open

Invalid api key #40

KapitanyGECI opened this issue Aug 9, 2022 · 1 comment

Comments

@KapitanyGECI
Copy link

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
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants