Xarot
Xarot
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
and it did work up until now 😄
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
yeah like this: emoji: '',
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
Ok, so to wrap this up: Idk why but one StringSelectMenuOptionBuilder had an empty emoji string, which (NOW!) can not be converted to an object anymore. Anyways, thanks to you both @Danial 🐝 @arcticwolvinny ❄ 🌈 for helping me out with this one.
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
Note that ':unlock:' looks like this 🔓 inside the log. Discord just edited my message
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
This is how it looks like when I log it to JSON: emoji: { animated: false, name: ':unlock:', id: undefined }
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
So how can the result be different, if my local files are the exact same as before.
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
Maybe you can figure out where the issue originated from. This is the whole log:
data.components[1].components[0].options[1].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[2].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[3].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[4].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[5].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[6].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[7].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[8].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[9].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[10].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[11].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[12].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[13].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[14].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[15].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[16].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[17].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[18].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[19].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[20].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[21].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[22].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[23].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[24].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
Stracktrace:

And then it repeats again
data.components[1].components[0].options[1].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[2].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[3].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[4].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[5].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[6].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[7].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[8].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[9].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[10].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[11].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[12].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[13].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[14].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[15].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[16].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[17].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[18].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[19].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[20].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[21].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[22].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[23].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
data.components[1].components[0].options[24].emoji[MODEL_TYPE_CONVERT]: Expected an object/dictionary.
Stracktrace:

And then it repeats again
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
So there was something wrong with the builder?
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
So it had nothing to do with my code
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
I am losing my mind. It works now. Seems like it was an issue with the DiscordAPI not converting it right.
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
Yes, give me a sec.
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
Yeah, thats why I did it that way.
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
Like I said, everything was still working yesterday. I guess something new with DiscordAPI?
26 replies
DIdiscord.js - Imagine ❄
Created by Xarot on 1/4/2024 in #djs-questions
DiscordAPIError[50035]: Invalid Form Body
import { StringSelectMenuOptionBuilder } from "discord.js";
import { StringSelectMenuOptionBuilder } from "discord.js";
26 replies