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

AdminLogs onMessageUpdate - Maximum Embed size exceeded #322

Open
Eccleria opened this issue Jun 26, 2024 · 0 comments
Open

AdminLogs onMessageUpdate - Maximum Embed size exceeded #322

Eccleria opened this issue Jun 26, 2024 · 0 comments
Assignees
Labels
invalid Not fatal issue

Comments

@Eccleria
Copy link
Owner

 Message modifié 2024-06-24T10:24:08.799Z DiscordAPIError[50035]: Invalid Form Body
embeds[MAX_EMBED_SIZE_EXCEEDED]: Embed size exceeds maximum size of 6000
    at handleErrors (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:640:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async SequentialHandler.runRequest (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:1021:23)
    at async SequentialHandler.queueRequest (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:862:14)
    at async REST.request (/home/ewibot/ewibot/node_modules/@discordjs/rest/dist/index.js:1387:22)
    at async ThreadChannel.send (/home/ewibot/ewibot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:162:15)
    at async finishEmbed (file:///home/ewibot/ewibot/src/admin/utils.js:86:21)
    at async Client.onMessageUpdate (file:///home/ewibot/ewibot/src/admin/listeners.js:701:23) {
  requestBody: {
    files: [],
    json: {
      content: undefined,
      tts: false,
      nonce: undefined,
      embeds: [Array],
      components: undefined,
      username: undefined,
      avatar_url: undefined,
      allowed_mentions: undefined,
      flags: undefined,
      message_reference: undefined,
      attachments: undefined,
      sticker_ids: undefined,
      thread_name: undefined
    }
  },
  rawError: {
    message: 'Invalid Form Body',
    code: 50035,
    errors: { embeds: [Object] }
  },
  code: 50035,
  status: 400,
  method: 'POST',
  url: 'https://discord.com/api/v10/channels/1012365101594058762/messages'
}
@Eccleria Eccleria added the invalid Not fatal issue label Jun 26, 2024
@Eccleria Eccleria self-assigned this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not fatal issue
Projects
None yet
Development

No branches or pull requests

1 participant