"Permission error. Make sure the user reconnects the connector and selects all the requested ... "
Permission error. Make sure the user reconnects the connector and selects all the requested scopes/permissions as next step.
Im getting this error when trying to set permission overwrites on a channel. The relevant code is here, can anyone help with a working example or point out the error in my ways?
https://github.com/purinton/architect/blob/master/tools/channel/set-permissions.mjs4 Replies
- What's your exact discord.js
npm list discord.js and node node -v version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅ Marked as resolved by OPthats not a djs error
I believe it’s an exception thrown on await channel.permissionOverwrites.edit(
Alright, so i'm not sure exactly but after some re-writes to add full debugging, i'm not able to reproduce this error any more. I think it might have been caused by sending some nonsense payload to discord gateway and the discord gateway responding back with that error. Problem solved for me.