Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
No command handler found - discord.js - Imagine ❄
d-I❄
discord.js - Imagine ❄
•
2y ago
•
5 replies
Monkonymous
No command handler found
I have built a bot based on the guide
(
https://github.com/discordjs/guide/tree/main/code-samples/creating-your-bot/event-handling)-
but I am getting an error on all the utility commands that are part of the guide
?
`
`
`
DiscordAPIError
[10062
]
: Unknown interaction
at handleErrors
(
/app
/bot
/node
_modules
/
@discordjs
/rest
/dist
/index
.
j
s
:
7
2
2
:13
)
at process
.processTicksAndRejections
(
n
o
d
e
:internal
/process
/
t
a
s
k
_
q
u
e
u
e
s
:
9
5
:5
)
at async BurstHandler
.runRequest
(
/app
/bot
/node
_modules
/
@discordjs
/rest
/dist
/index
.
j
s
:
8
2
6
:23
)
at async
_REST
.request
(
/app
/bot
/node
_modules
/
@discordjs
/rest
/dist
/index
.
j
s
:
1
2
6
6
:22
)
at async ChatInputCommandInteraction
.reply
(
/app
/bot
/node
_modules
/discord
.js
/src
/structures
/interfaces
/InteractionResponses
.
j
s
:
1
1
1
:5
)
at async Object
.execute
(
/app
/bot
/commands
/utility
/user
.
j
s
:
8
:3
)
at async Object
.execute
(
/app
/bot
/events
/interactionCreate
.
j
s
:
1
6
:4
)
{
requestBody
:
{ files
:
[
]
, json
:
{ type
: 4
, data
:
[Object
]
}
}
,
rawError
:
{ message
:
'Unknown interaction
'
, code
: 10062
}
,
code
: 10062
,
status
: 404
,
method
:
'POST
'
,
url
:
'
https://discord.com/
.
.
.
.
'
}
n
o
d
e
:
e
v
e
n
t
s
:497
throw er
;
/
/ Unhandled
'error
' event
^
There is more to the error but the bot also replies No command handler found
, still WIP
npm list discord
.js
└
─
─ discord
.js
@14
.14
.1
npm
-v
10
.2
.4
node
-v
v21
.6
.2
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,915
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
No handler was found for this command
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago
command handler
d-I❄
discord.js - Imagine ❄ / djs-questions
2y ago