Invalid emojis
DiscordAPIError[50035]: Invalid Form Body
data.components[0].components[0].emoji.id[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji
data.components[0].components[1].emoji.id[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji
data.components[0].components[2].emoji.id[BUTTON_COMPONENT_INVALID_EMOJI]: Invalid emoji
at SequentialHandler.runRequest (C:\Users\luizs\Documents\Discord Bot\node_modules@discordjs\rest\dist\index.js:667:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.queueRequest (C:\Users\luizs\Documents\Discord Bot\node_modules@discordjs\rest\dist\index.js:464:14)
at async REST.request (C:\Users\luizs\Documents\Discord Bot\node_modules@discordjs\rest\dist\index.js:910:22)
at async ChatInputCommandInteraction.reply (C:\Users\luizs\Documents\Discord Bot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5)
at async Object.execute (C:\Users\luizs\Documents\Discord Bot\commands\create.js:75:9)
at async Client.<anonymous> (C:\Users\luizs\Documents\Discord Bot\index.js:30:3) {
requestBody: { files: [], json: { type: 4, data: [Object] } },
rawError: {
code: 50035,
errors: { data: [Object] },
message: 'Invalid Form Body'
5 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
im trying to use custom emojis on buttons , did them like this but they arent working
i think so
the bot is in the server that the emojis were created
do i need to do something more to give them access?
How is ButtonBuilder imported