zeing
zeing
DIAdiscord.js - Imagine an app
Created by on 9/5/2024 in #djs-questions
Discordjs REST error iirc
ok I will try
14 replies
DIAdiscord.js - Imagine an app
Created by on 9/5/2024 in #djs-questions
Discordjs REST error iirc
I have tried to handle all .reply , .editReply , .edit , .send
14 replies
DIAdiscord.js - Imagine an app
Created by on 9/5/2024 in #djs-questions
Discordjs REST error iirc
I am trying but I have no idea where have to handle
14 replies
DIAdiscord.js - Imagine an app
Created by on 9/5/2024 in #djs-questions
Discordjs REST error iirc
Do you have any ideas for debugging?
14 replies
DIAdiscord.js - Imagine an app
Created by on 9/5/2024 in #djs-questions
Discordjs REST error iirc
I found this error as well. I’m trying to find the root cause, but I have no idea. Yes, I tried searching for this keyword in the server, but no one else has faced this error. 😭 "discord.js": "^14.17.3",
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled promise rejection:', reason, promise)
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled promise rejection:', reason, promise)
Unhandled promise rejection:
259 | if (serialized !== null) params.append(key, serialized);
260 | }
261 | return params;
262 | }
263 | __name(makeURLSearchParams, "makeURLSearchParams");
264 | async function parseResponse(res) {
^
SyntaxError: Unexpected end of JSON input
at parseResponse (...../node_modules/@discordjs/rest/dist/index.js:264:30)
Promise { <rejected> }
Unhandled promise rejection:
259 | if (serialized !== null) params.append(key, serialized);
260 | }
261 | return params;
262 | }
263 | __name(makeURLSearchParams, "makeURLSearchParams");
264 | async function parseResponse(res) {
^
SyntaxError: Unexpected end of JSON input
at parseResponse (...../node_modules/@discordjs/rest/dist/index.js:264:30)
Promise { <rejected> }
14 replies
DIAdiscord.js - Imagine an app
Created by on 9/5/2024 in #djs-questions
Discordjs REST error iirc
I found this as well no clue
14 replies