Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

232
Views
Discord.JS v13 API Errores cada vez que envío una inserción

Cada vez que intento enviar una inserción usando comandos de barra diagonal en mi bot, obtengo un DiscordAPIError, que se parece a esto:

 /home/runner/TFOBOT/node_modules/discord.js/src/rest/RequestHandler.js:350 throw new DiscordAPIError(data, res.status, request); ^ DiscordAPIError: Unknown interaction at RequestHandler.execute (/home/runner/TFOBOT/node_modules/discord.js/src/rest/RequestHandler.js:350:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (/home/runner/TFOBOT/node_modules/discord.js/src/rest/RequestHandler.js:51:14) at async CommandInteraction.reply (/home/runner/TFOBOT/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:99:5) { method: 'post', path: '/interactions/937065446656577627/aW50ZXJhY3Rpb246OTM3MDY1NDQ2NjU2NTc3NjI3Ok5wSVRGNzlBZkJ6YURJNWtqR29tMmdLd1FpRUpXQVEySHRTZmlPa1d1elpWbG5XOUJudkNubDNlMmc4WnM2bDZFOUhiTm9TOXJMaDJmYVpOUFd2WmJQUnl2d0tkVEs1dDJoNHV2VmJhTElsZUhWbGNyd3FoOTNTTGp1NGZKTFZ5/callback', code: 10062, httpStatus: 404, requestData: { json: { type: 4, data: { content: undefined, tts: false, nonce: undefined, embeds: [ { title: 'XP for MystX2', type: 'rich', description: null, url: null, timestamp: 2022-01-29T19:23:50.855Z, color: 3447003, fields: [Array], thumbnail: [Object], image: null, author: null, footer: [Object] } ], components: undefined, username: undefined, avatar_url: undefined, allowed_mentions: undefined, flags: undefined, message_reference: undefined, attachments: undefined, sticker_ids: undefined } }, files: [] } }

Solo obtengo estos errores cuando intento responder a una interacción con una inserción, ¿alguna idea sobre cómo solucionarlo? Me parece que no se puede encontrar la interacción, sin embargo, siempre funciona sin fallas si no incluyo una inserción, y solo texto normal en su lugar.

Como referencia, este es el código que está causando los errores:

 interaction.reply({ embeds:[xpEmbed] })
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!