HTTPError [FetchError] request to httpsdiscord.comapiv9channels

HTTPError [FetchError]: request to https://discord.com/api/v9/channels/1047428819130269747 failed, reason: write EPIPE
at RequestHandler.execute (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:201:15)
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 ThreadChannel.edit (/home/ubuntu/discord/node_modules/discord.js/src/structures/ThreadChannel.js:320:21)
at async Client.<anonymous> (/home/ubuntu/discord/bot.js:1440:12) {
code: 500,
method: 'patch',
path: '/channels/1047428819130269747',
requestData: {
json: {
name: '✅ ok',
archived: undefined,
auto_archive_duration: undefined,
rate_limit_per_user: undefined,
locked: undefined,
invitable: undefined
},
files: []
}
}
HTTPError [FetchError]: request to https://discord.com/api/v9/channels/1047428819130269747 failed, reason: write EPIPE
at RequestHandler.execute (/home/ubuntu/discord/node_modules/discord.js/src/rest/RequestHandler.js:201:15)
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 ThreadChannel.edit (/home/ubuntu/discord/node_modules/discord.js/src/structures/ThreadChannel.js:320:21)
at async Client.<anonymous> (/home/ubuntu/discord/bot.js:1440:12) {
code: 500,
method: 'patch',
path: '/channels/1047428819130269747',
requestData: {
json: {
name: '✅ ok',
archived: undefined,
auto_archive_duration: undefined,
rate_limit_per_user: undefined,
locked: undefined,
invitable: undefined
},
files: []
}
}
why did it failed to fetch? if that is even the problem?
4 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Kinect3000
Kinect30002y ago
The connection to the server terminated early (while making the request) Could caused by intermittent internet
Mulo
Mulo2y ago
as in, nothing is wrong with the code?
Kinect3000
Kinect30002y ago
Yea