TheMonDon
TheMonDon
DIdiscord.js - Imagine ❄
Created by TheMonDon on 1/19/2025 in #djs-questions
Autocomplete Unknown Interaction
Whenever I paste a url into my autocomplete command I get Unknown Interaction, even though the command still runs. error:
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\@discordjs\rest\dist\index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async BurstHandler.runRequest (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\@discordjs\rest\dist\index.js:831:23)
at async _REST.request (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\@discordjs\rest\dist\index.js:1272:22)
at async AutocompleteInteraction.respond (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\discord.js\src\structures\AutocompleteInteraction.js:86:5) {
requestBody: { files: undefined, json: { type: 8, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1330328475424526478/aW50ZXJhY3Rpb246MTMzMDMyODQ3NTQyNDUyNjQ3ODp1MktGdXhjU2E3blBTS0tRNlRmeGNHQ3lkU3BJaEh2akFWcFFjUDdvQjcwRnpUQmFpWXVTMlluWmEzQXJqYUtwMTNYTkNtaHV1ZDFRcjU2ZzM4MWdodERac01WcDlJRDl5dmplSXA5UUFtcTJLa2pUWHVGWjBlTWRCaFBLenpsMw/callback'
}
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\@discordjs\rest\dist\index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async BurstHandler.runRequest (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\@discordjs\rest\dist\index.js:831:23)
at async _REST.request (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\@discordjs\rest\dist\index.js:1272:22)
at async AutocompleteInteraction.respond (C:\Users\wc250\Documents\Github Repos\Mythical-Bot\node_modules\discord.js\src\structures\AutocompleteInteraction.js:86:5) {
requestBody: { files: undefined, json: { type: 8, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1330328475424526478/aW50ZXJhY3Rpb246MTMzMDMyODQ3NTQyNDUyNjQ3ODp1MktGdXhjU2E3blBTS0tRNlRmeGNHQ3lkU3BJaEh2akFWcFFjUDdvQjcwRnpUQmFpWXVTMlluWmEzQXJqYUtwMTNYTkNtaHV1ZDFRcjU2ZzM4MWdodERac01WcDlJRDl5dmplSXA5UUFtcTJLa2pUWHVGWjBlTWRCaFBLenpsMw/callback'
}
33 replies
DIdiscord.js - Imagine ❄
Created by TheMonDon on 7/16/2023 in #djs-questions
What is the difference between autocomplete and string input options?
I'm kinda confused, how does autocomplete differ from normal string input options? If I understand correctly it is able to give different secondary options compared to the input on the first option? I might be wrong though.
9 replies