Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DiscordAPIError[50035]: Invalid Form Body
- data.components[0][UNION_TYPE_CHOICES]: Value of field "type" must be one of (1, 9, 10, 12, 13, 14, 17).
- at handleErrors (D:\SYSface.dll\node_modules\@discordjs\rest\dist\index.js:748:13)
- at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
- at async BurstHandler.runRequest (D:\SYSface.dll\node_modules\@discordjs\rest\dist\index.js:852:23)
- at async _REST.request (D:\SYSface.dll\node_modules\@discordjs\rest\dist\index.js:1293:22)
- at async ChatInputCommandInteraction.reply (D:\SYSface.dll\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:194:22)
- at async Object.execute (D:\SYSface.dll\src\commands\support utility\support-ticket.js:27:9) {
- requestBody: {
- files: [],
- json: {
- type: 4,
- data: {
- content: undefined,
- tts: false,
- nonce: undefined,
- enforce_nonce: false,
- embeds: undefined,
- components: [
- {
- type: 3,
- custom_id: 'ticket_support',
- placeholder: 'placeholder',
- options: [Array]
- }
- ],
- username: undefined,
- avatar_url: undefined,
- allowed_mentions: undefined,
- flags: 32832,
- message_reference: undefined,
- attachments: undefined,
- sticker_ids: undefined,
- thread_name: undefined,
- applied_tags: undefined,
- poll: undefined
- }
- }
- },
- rawError: {
- message: 'Invalid Form Body',
- code: 50035,
- errors: {
- data: { components: { '0': { _errors: [Array] } } }
- }
- },
- code: 50035,
- status: 400,
- method: 'POST',
- url: 'https://discord.com/api/v10/interactions/1368600398453018695/aW50ZXJhY3Rpb246MTM2ODYwMDM5ODQ1MzAxODY5NTpPRTE0R3I5a1ZwVktock5Ha1Jrenh2ajVremVncDBtV2J1bG1pQ3ZMcmNSYmtCMnRld2oxdGI4OThXbUQ5RTZPbXZTd3ZYamhmMldGV3dLZmxBNlpucHRjclI5VjRKazZkcWxCb3M3UnB2UktVU0J3THY0NDV3cFNZZ0N2Q21yYw/callback?with_response=false'
- }
Advertisement
Add Comment
Please, Sign In to add comment