saiteja-madha / discord-js-bot

🤖 Multipurpose discord bot built using discord.js v14 with moderation, music, ticketing, translation, and much more
https://strangedocs.hostz.me
Apache License 2.0
660 stars 682 forks source link

Dashboard Not working #358

Open ANIKETEDITZ opened 1 year ago

ANIKETEDITZ commented 1 year ago

When i try to use dashboard it doesn't load and sends error in console and discord channel

DiscordAPIError[50035]: Invalid Form Body
user_id[NUMBER_TYPE_COERCE]: Value "null" is not snowflake.
    at handleErrors (/home/runner/discord-js-bot/node_modules/@discordjs/rest/dist/index.js:640:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SequentialHandler.runRequest (/home/runner/discord-js-bot/node_modules/@discordjs/rest/dist/index.js:1021:23)
    at async SequentialHandler.queueRequest (/home/runner/discord-js-bot/node_modules/@discordjs/rest/dist/index.js:862:14)
    at async REST.request (/home/runner/discord-js-bot/node_modules/@discordjs/rest/dist/index.js:1387:22)
    at async UserManager.fetch (/home/runner/discord-js-bot/node_modules/discord.js/src/managers/UserManager.js:91:18)
    at async Object.fetchUser (/home/runner/discord-js-bot/dashboard/utils.js:34:16)

Expected behavior The dashboard should load correctly

rhaym-tech commented 1 year ago

Use latest version, it would fix the problem

ANIKETEDITZ commented 1 year ago

Ok

On Tue, Jul 18, 2023, 3:44 AM Ghellab Abderrahmane @.***> wrote:

Use latest version, it would fix the problem

— Reply to this email directly, view it on GitHub https://github.com/saiteja-madha/discord-js-bot/issues/358#issuecomment-1638960573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR4YRKBAB6KYNH5V2B34KW3XQW2L5ANCNFSM6AAAAAAYGRY7XI . You are receiving this because you authored the thread.Message ID: @.***>