#DiscordAPIError[50027]: Invalid Webhook Token

1 messages · Page 1 of 1 (latest)

frigid swift

Hey, I made a discord bot, but something isn't working. Occasionally when lots of people use the bot I get this error:

DiscordAPIError[50027]: Invalid Webhook Token
05.05 15:54:26 [Bot] at handleErrors (/node_modules/@discordjs/rest/dist/index.js:730:13)
05.05 15:54:26 [Bot] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
05.05 15:54:26 [Bot] at async SequentialHandler.runRequest (/node_modules/@discordjs/rest/dist/index.js:1133:23)
05.05 15:54:26 [Bot] at async SequentialHandler.queueRequest (/node_modules/@discordjs/rest/dist/index.js:963:14)
05.05 15:54:26 [Bot] at async _REST.request (/node_modules/@discordjs/rest/dist/index.js:1278:22)
05.05 15:54:26 [Bot] at async InteractionWebhook.editMessage (/node_modules/discord.js/src/structures/Webhook.js:341:15)
05.05 15:54:26 [Bot] at async ChatInputCommandInteraction.editReply (/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:161:17)
05.05 15:54:26 [Bot] at async InteractionCollector.<anonymous> (/Bot2/commands/club1/invitetoclub.js:814:49) {

Can someone help? I will be very happy if someone can help me with the solution.