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'
}
Was this page helpful?