Guest User

Untitled

a guest
May 4th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DiscordAPIError[50035]: Invalid Form Body
  2. data.components[0][UNION_TYPE_CHOICES]: Value of field "type" must be one of (1, 9, 10, 12, 13, 14, 17).
  3.     at handleErrors (D:\SYSface.dll\node_modules\@discordjs\rest\dist\index.js:748:13)
  4.     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
  5.     at async BurstHandler.runRequest (D:\SYSface.dll\node_modules\@discordjs\rest\dist\index.js:852:23)
  6.     at async _REST.request (D:\SYSface.dll\node_modules\@discordjs\rest\dist\index.js:1293:22)
  7.     at async ChatInputCommandInteraction.reply (D:\SYSface.dll\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:194:22)
  8.     at async Object.execute (D:\SYSface.dll\src\commands\support utility\support-ticket.js:27:9) {
  9.   requestBody: {
  10.     files: [],
  11.     json: {
  12.       type: 4,
  13.       data: {
  14.         content: undefined,
  15.         tts: false,
  16.         nonce: undefined,
  17.         enforce_nonce: false,
  18.         embeds: undefined,
  19.         components: [
  20.           {
  21.             type: 3,
  22.             custom_id: 'ticket_support',
  23.             placeholder: 'placeholder',
  24.             options: [Array]
  25.           }
  26.         ],
  27.         username: undefined,
  28.         avatar_url: undefined,
  29.         allowed_mentions: undefined,
  30.         flags: 32832,
  31.         message_reference: undefined,
  32.         attachments: undefined,
  33.         sticker_ids: undefined,
  34.         thread_name: undefined,
  35.         applied_tags: undefined,
  36.         poll: undefined
  37.       }
  38.     }
  39.   },
  40.   rawError: {
  41.     message: 'Invalid Form Body',
  42.     code: 50035,
  43.     errors: {
  44.       data: { components: { '0': { _errors: [Array] } } }
  45.     }
  46.   },
  47.   code: 50035,
  48.   status: 400,
  49.   method: 'POST',
  50.   url: 'https://discord.com/api/v10/interactions/1368600398453018695/aW50ZXJhY3Rpb246MTM2ODYwMDM5ODQ1MzAxODY5NTpPRTE0R3I5a1ZwVktock5Ha1Jrenh2ajVremVncDBtV2J1bG1pQ3ZMcmNSYmtCMnRld2oxdGI4OThXbUQ5RTZPbXZTd3ZYamhmMldGV3dLZmxBNlpucHRjclI5VjRKazZkcWxCb3M3UnB2UktVU0J3THY0NDV3cFNZZ0N2Q21yYw/callback?with_response=false'
  51. }
Advertisement
Add Comment
Please, Sign In to add comment