Guest User

Untitled

a guest
Jun 4th, 2026
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. DiscordAPIError[50006]: Cannot send an empty message
  2. at handleErrors (/Users/user/Documents/oso-bot/node_modules/@discordjs/rest/dist/index.js:762:13)
  3. at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
  4. at async BurstHandler.runRequest (/Users/user/Documents/oso-bot/node_modules/@discordjs/rest/dist/index.js:866:23)
  5. at async _REST.request (/Users/user/Documents/oso-bot/node_modules/@discordjs/rest/dist/index.js:1307:22)
  6. at async ChatInputCommandInteraction.reply (/Users/user/Documents/oso-bot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:193:22)
  7. at async Object.execute (/Users/user/Documents/oso-bot/commands/utility/oso.js:46:3)
  8. at async Client.<anonymous> (/Users/user/Documents/oso-bot/index.js:44:3) {
  9. requestBody: { files: [], json: { type: 4, data: [Object] } },
  10. rawError: { message: 'Cannot send an empty message', code: 50006 },
  11. code: 50006,
  12. status: 400,
  13. method: 'POST',
  14. url: 'https://discord.com/api/v10/interactions/i do not know what this url means and i have hidden it out of fear'
  15. }
  16. node:events:486
  17. throw er; // Unhandled 'error' event
  18. ^
  19.  
  20. DiscordAPIError[10062]: Unknown interaction
  21. at handleErrors (/Users/user/Documents/oso-bot/node_modules/@discordjs/rest/dist/index.js:762:13)
  22. at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
  23. at async BurstHandler.runRequest (/Users/user/Documents/oso-bot/node_modules/@discordjs/rest/dist/index.js:866:23)
  24. at async _REST.request (/Users/user/Documents/oso-bot/node_modules/@discordjs/rest/dist/index.js:1307:22)
  25. at async ChatInputCommandInteraction.reply (/Users/user/Documents/oso-bot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:193:22)
  26. at async Client.<anonymous> (/Users/user/Documents/oso-bot/index.js:55:4)
  27. Emitted 'error' event on Client instance at:
  28. at emitUnhandledRejectionOrErr (node:events:391:10)
  29. at process.processTicksAndRejections (node:internal/process/task_queues:92:21) {
  30. requestBody: {
  31. files: [],
  32. json: {
  33. type: 4,
  34. data: {
  35. content: 'There was an error while executing this command!',
  36. tts: false,
  37. nonce: undefined,
  38. enforce_nonce: false,
  39. embeds: undefined,
  40. components: undefined,
  41. username: undefined,
  42. avatar_url: undefined,
  43. allowed_mentions: undefined,
  44. flags: 64,
  45. message_reference: undefined,
  46. attachments: undefined,
  47. sticker_ids: undefined,
  48. thread_name: undefined,
  49. applied_tags: undefined,
  50. poll: undefined
  51. }
  52. }
  53. },
  54. rawError: { message: 'Unknown interaction', code: 10062 },
  55. code: 10062,
  56. status: 404,
  57. method: 'POST',
  58. url: 'https://discord.com/api/v10/interactions/i do not know what this url means and i have hidden it out of fear'
  59. }
  60.  
  61. Node.js v25.8.0
Advertisement
Add Comment
Please, Sign In to add comment