Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiscordAPIError #1016

Closed
BozydarBelkot opened this issue Dec 11, 2023 · 2 comments
Closed

DiscordAPIError #1016

BozydarBelkot opened this issue Dec 11, 2023 · 2 comments

Comments

@BozydarBelkot
Copy link

Error:
DiscordAPIError: Invalid Form Body 0.options[0].description: Must be between 1 and 100 in length. 1.options[0].description: Must be between 1 and 100 in length. 2.description: This field is required 3.description: This field is required 4.description: This field is required 5.options[0].description: Must be between 1 and 100 in length. 5.options[1].description: Must be between 1 and 100 in length. 6.description: This field is required 7.description: This field is required 8.options[0].description: Must be between 1 and 100 in length. 9.options[0].description: Must be between 1 and 100 in length. 9.options[1].description: Must be between 1 and 100 in length. 10.description: This field is required 11.options[0].description: Must be between 1 and 100 in length. 12.description: This field is required 13.description: This field is required 14.description: This field is required 15.description: This field is required 16.options[0].description: Must be between 1 and 100 in length. 17.options[0].description: Must be between 1 and 100 in length. at RequestHandler.execute (D:\DBots\Pook\node_modules\discord.js\src\rest\RequestHandler.js:350:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (D:\DBots\Pook\node_modules\discord.js\src\rest\RequestHandler.js:51:14) at async GuildApplicationCommandManager.set (D:\DBots\Pook\node_modules\discord.js\src\managers\ApplicationCommandManager.js:162:18) { method: 'put', path: '/applications/1177015833898262528/guilds/1001107045568741437/commands', code: 50035, httpStatus: 400, requestData: { json: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ], files: [] } }

@BozydarBelkot BozydarBelkot added s: unverified type: bug Bug related to code base, behavior, displaying, etc. labels Dec 11, 2023
@master3395
Copy link
Contributor

What mod is this error coming from?
Have you tried a clean bot, and see if the issue is coming from 1 action, command, event etc?

What DBM version are you using, when you get this error?

@Phyrok
Copy link
Contributor

Phyrok commented Dec 11, 2023

You need to add a title in your Embed Fields, they can't be empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants