Creating-deleting vc on join-leave error

Im getting this error and it doesnt say where in the code comes from. Any idea where to look at and how to fix it?
/node_modules/discord.js/src/rest/RequestHandler.js:350
throw new DiscordAPIError(data, res.status, request);
^

DiscordAPIError: Unknown Channel
at RequestHandler.execute (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
at async GuildMemberManager.edit (/home/ubuntu/discord/node_modules/discord.js/src/managers/GuildMemberManager.js:279:15) {
method: 'patch',
path: '/guilds/467433493261975563/members/251684946131812353',
code: 10003,
httpStatus: 400,
requestData: {
json: {
channel: undefined,
channel_id: '1030560012726173787',
communication_disabled_until: undefined
},
files: []
}
}

Node.js v17.3.0
[nodemon] app crashed - waiting for file changes before starting...
/node_modules/discord.js/src/rest/RequestHandler.js:350
throw new DiscordAPIError(data, res.status, request);
^

DiscordAPIError: Unknown Channel
at RequestHandler.execute (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
at async GuildMemberManager.edit (/home/ubuntu/discord/node_modules/discord.js/src/managers/GuildMemberManager.js:279:15) {
method: 'patch',
path: '/guilds/467433493261975563/members/251684946131812353',
code: 10003,
httpStatus: 400,
requestData: {
json: {
channel: undefined,
channel_id: '1030560012726173787',
communication_disabled_until: undefined
},
files: []
}
}

Node.js v17.3.0
[nodemon] app crashed - waiting for file changes before starting...
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Mulo
MuloOP3y ago
discord/node_modules/discord.js/src/rest/RequestHandler.js:350
throw new DiscordAPIError(data, res.status, request);
^

DiscordAPIError: Unknown Channel
at RequestHandler.execute (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
at async GuildMemberManager.edit (/home/ubuntu/discord/node_modules/discord.js/src/managers/GuildMemberManager.js:279:15) {
method: 'patch',
path: '/guilds/467433493261975563/members/552007360302809089',
code: 10003,
httpStatus: 400,
requestData: {
json: {
channel: undefined,
channel_id: '1030991452840415272',
communication_disabled_until: undefined
},
files: []
}
}

Node.js v17.3.0
[nodemon] app crashed - waiting for file changes before starting...
discord/node_modules/discord.js/src/rest/RequestHandler.js:350
throw new DiscordAPIError(data, res.status, request);
^

DiscordAPIError: Unknown Channel
at RequestHandler.execute (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RequestHandler.push (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
at async GuildMemberManager.edit (/home/ubuntu/discord/node_modules/discord.js/src/managers/GuildMemberManager.js:279:15) {
method: 'patch',
path: '/guilds/467433493261975563/members/552007360302809089',
code: 10003,
httpStatus: 400,
requestData: {
json: {
channel: undefined,
channel_id: '1030991452840415272',
communication_disabled_until: undefined
},
files: []
}
}

Node.js v17.3.0
[nodemon] app crashed - waiting for file changes before starting...
how can i catch this error?
Want results from more Discord servers?
Add your server