'FiFou1165 シ
'FiFou1165 シ
DIAdiscord.js - Imagine an app
Created by 'FiFou1165 シ on 5/12/2024 in #djs-questions
Create channel
Hello i don't why i have this error : Invalid Form Body name[BASE_TYPE_REQUIRED]: This field is required at handleErrors (C:\Users\mathe\Desktop\fifou1165-bot\node_modules@discordjs\rest\dist\index.js:730:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SequentialHandler.runRequest (C:\Users\mathe\Desktop\fifou1165-bot\node_modules@discordjs\rest\dist\index.js:1133:23) at async SequentialHandler.queueRequest (C:\Users\mathe\Desktop\fifou1165-bot\node_modules@discordjs\rest\dist\index.js:963:14) at async _REST.request (C:\Users\mathe\Desktop\fifou1165-bot\node_modules@discordjs\rest\dist\index.js:1278:22) at async GuildChannelManager.create (C:\Users\mathe\Desktop\fifou1165-bot\node_modules\discord.js\src\managers\GuildChannelManager.js:171:18) at async Client.<anonymous> (C:\Users\mathe\Desktop\fifou1165-bot\index.js:45:29) { 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 } }, rawError: { message: 'Invalid Form Body', code: 50035, errors: { name: [Object] } }, code: 50035, status: 400, method: 'POST', url: 'https://discord.com/api/v10/guilds/1238212673024557139/channels' }
6 replies