Unkown Interaction Error

2|Wave| DiscordAPIError[10062]: Unknown interaction
2|Wave| at handleErrors (/root/Wave/node_modules/@discordjs/rest/dist/index.js:640:13)
2|Wave| at runMicrotasks (<anonymous>)
2|Wave| at processTicksAndRejections (node:internal/process/task_queues:96:5)
2|Wave| at async BurstHandler.runRequest (/root/Wave/node_modules/@discordjs/rest/dist/index.js:736:23)
2|Wave| at async REST.request (/root/Wave/node_modules/@discordjs/rest/dist/index.js:1387:22)
2|Wave| at async ChatInputCommandInteraction.deferReply (/root/Moosic-v3/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:69:5)
2|Wave| at async interactionCreate.run (/root/Wave/src/events/interactions/interactionCreate.js:26:71) {
2|Wave| requestBody: { files: undefined, json: { type: 5, data: [Object] } },
2|Wave| rawError: { message: 'Unknown interaction', code: 10062 },
2|Wave| code: 10062,
2|Wave| status: 404,
2|Wave| method: 'POST',
2|Wave| url: 'https://discord.com/api/v10/interactions/1139107138942279721/aW50ZXJhY3Rpb246MTEzOTEwNzEzODk0MjI3OTcyMTo3UUxxaHlURUdkWnh3SE1UR21PZ3ZMWk9zNDdBMGtBZTJqR0JPNzhrS2tTYU5DcmJGdXBORnNtNlIxQk4xRm9uMEdBOHlIdk9mWTVsZHVMTVk2NDZHallja3AxNWpxVFU4YzdqZGV4M3R1OGlrSjFjZDdqTTBkbTVOUEdLWm1Vag/callback'
2|Wave| }
2|Wave| DiscordAPIError[10062]: Unknown interaction
2|Wave| at handleErrors (/root/Wave/node_modules/@discordjs/rest/dist/index.js:640:13)
2|Wave| at runMicrotasks (<anonymous>)
2|Wave| at processTicksAndRejections (node:internal/process/task_queues:96:5)
2|Wave| at async BurstHandler.runRequest (/root/Wave/node_modules/@discordjs/rest/dist/index.js:736:23)
2|Wave| at async REST.request (/root/Wave/node_modules/@discordjs/rest/dist/index.js:1387:22)
2|Wave| at async ChatInputCommandInteraction.deferReply (/root/Moosic-v3/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:69:5)
2|Wave| at async interactionCreate.run (/root/Wave/src/events/interactions/interactionCreate.js:26:71) {
2|Wave| requestBody: { files: undefined, json: { type: 5, data: [Object] } },
2|Wave| rawError: { message: 'Unknown interaction', code: 10062 },
2|Wave| code: 10062,
2|Wave| status: 404,
2|Wave| method: 'POST',
2|Wave| url: 'https://discord.com/api/v10/interactions/1139107138942279721/aW50ZXJhY3Rpb246MTEzOTEwNzEzODk0MjI3OTcyMTo3UUxxaHlURUdkWnh3SE1UR21PZ3ZMWk9zNDdBMGtBZTJqR0JPNzhrS2tTYU5DcmJGdXBORnNtNlIxQk4xRm9uMEdBOHlIdk9mWTVsZHVMTVk2NDZHallja3AxNWpxVFU4YzdqZGV4M3R1OGlrSjFjZDdqTTBkbTVOUEdLWm1Vag/callback'
2|Wave| }
3 Replies
d.js toolkit
d.js toolkit17mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs17mo ago
Common causes of DiscordAPIError[10062]: Unknown interaction: - Initial response took more than 3 seconds ➞ defer the response *. - Wrong interaction object inside a collector. - Two processes handling the same command (the first consumes the interaction, so it won't be valid for the other instance) * Note: you cannot defer modal or autocomplete value responses
Sniffy
SniffyOP17mo ago
discord.js: 14.11.0 node version : 17
Want results from more Discord servers?
Add your server