Bunny command: embeds[0].title: Must be 256 or fewer in length. #163

Open
opened 2022-06-17 13:06:18 +01:00 by Vylpes · 0 comments
Vylpes commented 2022-06-17 13:06:18 +01:00 (Migrated from github.com)
/home/vylpes/vylbot/node_modules/discord.js/src/rest/RequestHandler.js:350
      throw new DiscordAPIError(data, res.status, request);
            ^

DiscordAPIError: Invalid Form Body
embeds[0].title: Must be 256 or fewer in length.
    at RequestHandler.execute (/home/vylpes/vylbot/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/vylpes/vylbot/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
    at async TextChannel.send (/home/vylpes/vylbot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:175:15) {
  method: 'post',
  path: '/channels/470187289025314817/messages',
  code: 50035,
  httpStatus: 400,
  requestData: {
    json: {
      content: undefined,
      tts: false,
      nonce: undefined,
      embeds: [
        {
          title: 'I have a 3 month old holland lop. Do they over eat??? He’s has put on a tummy recently I keep 2 litter pans and fill with hay.. he usually eats almost all of it from both then I refill. I made him a 3rd one and he ate all 3 overnight! I was shocked😳 he also gets 1/4 a cup of pellets a day&amp;his greens',
```bash /home/vylpes/vylbot/node_modules/discord.js/src/rest/RequestHandler.js:350 throw new DiscordAPIError(data, res.status, request); ^ DiscordAPIError: Invalid Form Body embeds[0].title: Must be 256 or fewer in length. at RequestHandler.execute (/home/vylpes/vylbot/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/vylpes/vylbot/node_modules/discord.js/src/rest/RequestHandler.js:51:14) at async TextChannel.send (/home/vylpes/vylbot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:175:15) { method: 'post', path: '/channels/470187289025314817/messages', code: 50035, httpStatus: 400, requestData: { json: { content: undefined, tts: false, nonce: undefined, embeds: [ { title: 'I have a 3 month old holland lop. Do they over eat??? He’s has put on a tummy recently I keep 2 litter pans and fill with hay.. he usually eats almost all of it from both then I refill. I made him a 3rd one and he ate all 3 overnight! I was shocked😳 he also gets 1/4 a cup of pellets a day&amp;his greens', ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/vylbot-app#163
No description provided.