i need help by a bot command error code

i have a command, and after sending the bot send a embed whit a button after pressing a button push a forms menu, when i send the forms to Channel ID, the bot is crashing
2 Replies
d.js toolkit
d.js toolkit•5mo 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! - ✅ Marked as resolved by staff
LennyLee
LennyLee•5mo ago
Node.js v18.19.0 [email protected]
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^

DiscordAPIError[10062]: Unknown interaction
at handleErrors (/home/3 Hosting Rose Reselling/node_modules/@discordjs/rest/dist/index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (/home/3 Hosting Rose Reselling/node_modules/@discordjs/rest/dist/index.js:826:23)
at async _REST.request (/home/3 Hosting Rose Reselling/node_modules/@discordjs/rest/dist/index.js:1266:22)
at async ModalSubmitInteraction.reply (/home/3 Hosting Rose Reselling/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js: 111:5) {
requestBody: {
files: [],
json: {
type: 4,
data: {
content: ':check~1: Review Form wurde abgesendet!',
tts: false,
nonce: undefined,
embeds: undefined,
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
}
},
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1242487808552075345/aW50ZXJhY3Rpb246MTI0MjQ4NzgwODU1MjA3NTM0NTpsc0VuUnRGVEtsYmpPWnppcG1yMmZLSGc4ZHR LTGxVeGV0SjVmSjlKY3EzZDNSa3ZGSzBBelVjZ3hmSDFXU3Z3RUNKeEhZdm9TSjZmVlcyM2tjZEM1MTk0VUJubGxQSzRLQUlTek9hUEs3d2FlazFMR25sekhPeVVTcHRyMlZDVA/callback'
}
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^

DiscordAPIError[10062]: Unknown interaction
at handleErrors (/home/3 Hosting Rose Reselling/node_modules/@discordjs/rest/dist/index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (/home/3 Hosting Rose Reselling/node_modules/@discordjs/rest/dist/index.js:826:23)
at async _REST.request (/home/3 Hosting Rose Reselling/node_modules/@discordjs/rest/dist/index.js:1266:22)
at async ModalSubmitInteraction.reply (/home/3 Hosting Rose Reselling/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js: 111:5) {
requestBody: {
files: [],
json: {
type: 4,
data: {
content: ':check~1: Review Form wurde abgesendet!',
tts: false,
nonce: undefined,
embeds: undefined,
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: 64,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
}
},
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1242487808552075345/aW50ZXJhY3Rpb246MTI0MjQ4NzgwODU1MjA3NTM0NTpsc0VuUnRGVEtsYmpPWnppcG1yMmZLSGc4ZHR LTGxVeGV0SjVmSjlKY3EzZDNSa3ZGSzBBelVjZ3hmSDFXU3Z3RUNKeEhZdm9TSjZmVlcyM2tjZEM1MTk0VUJubGxQSzRLQUlTek9hUEs3d2FlazFMR25sekhPeVVTcHRyMlZDVA/callback'
}
this is the error you need it ? full ? index + cmd ? Pls Ping me if you answer im not 100% sure im not sure sorry im new i can send the Index you can look is not 100% my alone
Want results from more Discord servers?
Add your server