3D_MAMA
3D_MAMA
DIAdiscord.js - Imagine an app
Created by 3D_MAMA on 2/12/2024 in #djs-questions
modal submit unknown interaction
Oh I think I got it. It's not the command handling that causes the error but the automatic error handling.
5 replies
DIAdiscord.js - Imagine an app
Created by Marion Maréchal on 2/12/2024 in #djs-questions
MODAL
Modals currently only support short and long text inputs. There is no way to put a paragraph (e.g. to explain things) in there.
15 replies
DIAdiscord.js - Imagine an app
Created by 3D_MAMA on 2/12/2024 in #djs-questions
modal submit unknown interaction
full trace:
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ModalSubmitInteraction.deferReply (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:69:5)
at async Object.b_authorize_callback [as execute] (C:\Users\BlaBla\OneDrive\.shared_files\github\project\commands\login.js:231:5)
at async handleMessageComponent (C:\Users\BlaBla\OneDrive\.shared_files\github\project\events\interactionCreate.js:79:9)
at async Object.onInteractionCreate [as execute] (C:\Users\BlaBla\OneDrive\.shared_files\github\project\events\interactionCreate.js:98:9) {
requestBody: { files: undefined, json: { type: 5, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1206579961838829568/aW50ZXJhY3Rpb246MTIwNjU3OTk2MTgzODgyOTU2ODpCcWV1Vm16cnlJT3ZxWllkZkJsU0NxNkVGYmE0aGFWNTJDdk9JSE5OVVZybVkzR2RaOU9qUUl3NTgyN0tMYzF1dTNwaG5oN0YxZkNvU3R6ZTN0bkxJemNob3pKNG5TbGViNVVpU3VvbDNuMEZmUDJweTFGQmx0Rg/callback'
}
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async ModalSubmitInteraction.deferReply (C:\Users\BlaBla\OneDrive\.shared_files\github\project\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:69:5)
at async Object.b_authorize_callback [as execute] (C:\Users\BlaBla\OneDrive\.shared_files\github\project\commands\login.js:231:5)
at async handleMessageComponent (C:\Users\BlaBla\OneDrive\.shared_files\github\project\events\interactionCreate.js:79:9)
at async Object.onInteractionCreate [as execute] (C:\Users\BlaBla\OneDrive\.shared_files\github\project\events\interactionCreate.js:98:9) {
requestBody: { files: undefined, json: { type: 5, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1206579961838829568/aW50ZXJhY3Rpb246MTIwNjU3OTk2MTgzODgyOTU2ODpCcWV1Vm16cnlJT3ZxWllkZkJsU0NxNkVGYmE0aGFWNTJDdk9JSE5OVVZybVkzR2RaOU9qUUl3NTgyN0tMYzF1dTNwaG5oN0YxZkNvU3R6ZTN0bkxJemNob3pKNG5TbGViNVVpU3VvbDNuMEZmUDJweTFGQmx0Rg/callback'
}
5 replies