You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to click buttons sometimes my code crashes. is this because i am using more than one client and rate limit? but http status is 400 and not ratelimit. i am checking to see if button is disabled before clicks but it still gives me error and crashes my script even if i put try and catch before the button click
c:\discord\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415
throw new DiscordAPIError(data, res.status, request);
^
DiscordAPIError: Invalid Form Body
COMPONENT_VALIDATION_FAILED: Component validation failed
at RequestHandler.execute (c:\discord\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RequestHandler.push (c:\discord\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:63:14) {
method: 'post',
path: '/interactions',
code: 50035,
httpStatus: 400,
requestData: {
json: {
type: 3,
nonce: '1111111111111111111',
guild_id: '1111111111111111111',
channel_id: '1111111111111111111',
message_id: '1111111111111111111',
application_id: '1111111111111111111',
session_id: 'numbers and letters',
message_flags: 0,
data: [Object]
},
files: [],
headers: undefined
},
retries: 0,
captcha: null
}
Code sample
awaitmessage.clickButton("id");
Package version
3.1.4 github
Node.js version
20.12.2
Operating system
No response
Priority this issue should have
Low (slightly annoying)
Checklist
I have searched the open issues for duplicates.
I have shared the entire traceback.
I am using a user token (and it isn't visible in the code).
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Which package has the bugs?
The core library
Issue description
When I try to click buttons sometimes my code crashes. is this because i am using more than one client and rate limit? but http status is 400 and not ratelimit. i am checking to see if button is disabled before clicks but it still gives me error and crashes my script even if i put try and catch before the button click
c:\discord\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415
throw new DiscordAPIError(data, res.status, request);
^
DiscordAPIError: Invalid Form Body
COMPONENT_VALIDATION_FAILED: Component validation failed
at RequestHandler.execute (c:\discord\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RequestHandler.push (c:\discord\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:63:14) {
method: 'post',
path: '/interactions',
code: 50035,
httpStatus: 400,
requestData: {
json: {
type: 3,
nonce: '1111111111111111111',
guild_id: '1111111111111111111',
channel_id: '1111111111111111111',
message_id: '1111111111111111111',
application_id: '1111111111111111111',
session_id: 'numbers and letters',
message_flags: 0,
data: [Object]
},
files: [],
headers: undefined
},
retries: 0,
captcha: null
}
Code sample
Package version
3.1.4 github
Node.js version
20.12.2
Operating system
No response
Priority this issue should have
Low (slightly annoying)
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: