DiscordAPIError: Missing Permission

I get this error in my logs:

DiscordAPIError: Missing Permissions

(node:629) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions

at item.request.gen.end (/rbd/pnpm-volume/8a278c4b-b94f-4d44-9a10-8320b52718c3/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15)

at then (/rbd/pnpm-volume/8a278c4b-b94f-4d44-9a10-8320b52718c3/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:215:21)

at process._tickCallback (internal/process/next_tick.js:68:7)

(node:629) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 15)

(node:629) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions

at item.request.gen.end (/rbd/pnpm-volume/8a278c4b-b94f-4d44-9a10-8320b52718c3/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15)

at then (/rbd/pnpm-volume/8a278c4b-b94f-4d44-9a10-8320b52718c3/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:215:21)

at process._tickCallback (internal/process/next_tick.js:68:7)

(node:629) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 19)

(node:629) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions

at item.request.gen.end (/rbd/pnpm-volume/8a278c4b-b94f-4d44-9a10-8320b52718c3/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/rest/RequestHandlers/Sequential.js:85:15)

at then (/rbd/pnpm-volume/8a278c4b-b94f-4d44-9a10-8320b52718c3/node_modules/.registry.npmjs.org/snekfetch/3.6.4/node_modules/snekfetch/src/index.js:215:21)

at process._tickCallback (internal/process/next_tick.js:68:7)

(node:629) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 23)

Error with Event “Clear reactions from message”, Action #51:

DiscordAPIError: Missing Permissions

The bot is created with Discord Bot Maker so I am not good how to fix and solve issues.
Ty if you helping me.

Hey @Lillishaj2!

During your bot development you will likely run into DiscordAPIError: Missing Permissions at some point. This error can be caused by one of the following reasons:

  • Your bot is missing the needed permission to execute this action in it’s calculated base or final permissions (requirement changes based on the type of action you are trying to execute).
  • You provided an invalid permission number while trying to create overwrites. (The calculator on the apps page returns decimal values while the developer documentation lists the flags in hex. Make sure you are not mixing the two and don’t use the hex prefix 0x where not applicable)
  • It is trying to execute an action on a guild member with a role higher than or equal to your bots highest role.
  • It is trying to modify or assign a role that is higher than or equal to its highest role.
  • It is trying to execute a forbidden action on the server owner.
  • It is trying to execute an action based on another unfulfilled factor (for example reserved for partnered guilds).
  • It is trying to execute an action on a voice channel without the VIEW_CHANNEL permission.

Good Luck & Happy Glitching!

1 Like

It’s trying to remove reactions from the bot’s own reactions that he have added.