Error: There was an error: DiscordAPIError[50035]: Invalid Form Body

const { ApplicationCommandOptionType } = require('discord.js');

module.exports = {
name: 'tax',
description: 'Roblox Tax Caculator',
options: [
{
name: 'Amount',
description: 'Amount Of Robux Before Tax',
type: ApplicationCommandOptionType.Number,
}
]
}
const { ApplicationCommandOptionType } = require('discord.js');

module.exports = {
name: 'tax',
description: 'Roblox Tax Caculator',
options: [
{
name: 'Amount',
description: 'Amount Of Robux Before Tax',
type: ApplicationCommandOptionType.Number,
}
]
}
7 Replies
d.js toolkit
d.js toolkit8mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Anthony
AnthonyOP8mo ago
Not sure how to fix the error...
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
✨𝓜𝓪𝓲𝓽𝓻𝓮𝓖𝓔𝓔𝓚ツ✨
Remove the A cap in Amount, replace it by amount
Anthony
AnthonyOP8mo ago
yeah, i fixed it myself last night.
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server