Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

[interaction::commandInteraction] DiscordAPIError: Invalid Form Body data.embeds[0].fields[4].value: Must be 1024 or fewer in length. #462

Description

Error Details

  • Error Type: interaction::commandInteraction
  • Error Name: DiscordAPIError
  • Error Message: Invalid Form Body
    data.embeds[0].fields[4].value: Must be 1024 or fewer in length.
  • Error Occured At: Monday, January 3, 2022, 5:28:55 PM Eastern Standard Time

Error Stack Trace

DiscordAPIError: Invalid Form Body
data.embeds[0].fields[4].value: Must be 1024 or fewer in length.
    at RequestHandler.execute (/home/aoyansarkar/HealthScreeningBot/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/aoyansarkar/HealthScreeningBot/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
    at async CommandInteraction.reply (/home/aoyansarkar/HealthScreeningBot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:99:5)
    at async Stats.execute (/home/aoyansarkar/HealthScreeningBot/src/commands/stats.js:65:9)
    at async commandInteraction (/home/aoyansarkar/HealthScreeningBot/src/client/interactions/commandInteraction.js:40:13)
    at async HealthScreeningBotClient.oninteractionCreate (/home/aoyansarkar/HealthScreeningBot/src/client/extraClient.js:137:28)

Error Metadata

{
    "user": "199605025914224641",
    "guild": "889983763994521610",
    "channel": "903064552772620339",
    "command": {
        "base": "stats",
        "subcommand": null,
        "subcommandGroup": null
    },
    "arguments": []
}

Issue Details

  • Posted By: @PythonCoderAS
  • Posted At: Monday, January 3, 2022, 5:29:06 PM Eastern Standard Time

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingerror log bugA bug posted via the error log.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions