wTornado
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
i solved my problem by giving the code references to it and it gave the code to me accordingly
16 replies
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
hey @arcticwolvinny ❄ 🌈
16 replies
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
copilot
16 replies
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
im really sorry
16 replies
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
sorry
16 replies
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: {
name: {
_errors: [
{
code: 'BASE_TYPE_REQUIRED',
message: 'This field is required'
}
]
}
}
},
code: 50035,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/guilds/1126147120852901898/channels'
16 replies
DIAdiscord.js - Imagine an app
•Created by wTornado on 1/18/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Bodyname[BASE_TYPE_REQUIRED]: This field is required
Full error : node:events:491
throw er; // Unhandled 'error' event
^
DiscordAPIError[50035]: Invalid Form Body
name[BASE_TYPE_REQUIRED]: This field is required
at handleErrors (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules@discordjs\rest\dist\index.js:1120:23)
at async SequentialHandler.queueRequest (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules@discordjs\rest\dist\index.js:953:14)
at async _REST.request (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules@discordjs\rest\dist\index.js:1266:22) at async GuildChannelManager.create (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules\discord.js\src\managers\GuildChannelManager.js:171:18) at async Object.run (C:\Users\abhin\OneDrive\Desktop\CaterRed\commands\Ticket\createTicket.js:15:25) at async Client.<anonymous> (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules\commandkit\dist\index.js:643:7) Emitted 'error' event on Client instance at: at emitUnhandledRejectionOrErr (node:events:394:10) at process.processTicksAndRejections (node:internal/process/task_queues:84:21) { requestBody: { files: undefined, json: { name: undefined, topic: undefined, type: undefined, nsfw: undefined, bitrate: undefined, user_limit: undefined, parent_id: undefined, position: undefined, permission_overwrites: undefined, rate_limit_per_user: undefined, rtc_region: undefined, video_quality_mode: undefined, default_thread_rate_limit_per_user: undefined, available_tags: undefined, default_reaction_emoji: undefined, default_auto_archive_duration: undefined, default_sort_order: undefined, default_forum_layout: undefined } },
at async SequentialHandler.queueRequest (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules@discordjs\rest\dist\index.js:953:14)
at async _REST.request (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules@discordjs\rest\dist\index.js:1266:22) at async GuildChannelManager.create (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules\discord.js\src\managers\GuildChannelManager.js:171:18) at async Object.run (C:\Users\abhin\OneDrive\Desktop\CaterRed\commands\Ticket\createTicket.js:15:25) at async Client.<anonymous> (C:\Users\abhin\OneDrive\Desktop\CaterRed\node_modules\commandkit\dist\index.js:643:7) Emitted 'error' event on Client instance at: at emitUnhandledRejectionOrErr (node:events:394:10) at process.processTicksAndRejections (node:internal/process/task_queues:84:21) { requestBody: { files: undefined, json: { name: undefined, topic: undefined, type: undefined, nsfw: undefined, bitrate: undefined, user_limit: undefined, parent_id: undefined, position: undefined, permission_overwrites: undefined, rate_limit_per_user: undefined, rtc_region: undefined, video_quality_mode: undefined, default_thread_rate_limit_per_user: undefined, available_tags: undefined, default_reaction_emoji: undefined, default_auto_archive_duration: undefined, default_sort_order: undefined, default_forum_layout: undefined } },
16 replies