"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.mjs
4 Replies
d.js toolkit
d.js toolkit5mo ago
- 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 OP
Russell
RussellOP5mo ago
[root@dev architect]# npm list discord.js
@purinton/architect@1.0.5 /var/opt/architect
└─┬ @purinton/discord@1.0.11
└── discord.js@14.21.0

[root@dev architect]# node -v
v22.16.0
[root@dev architect]# npm list discord.js
@purinton/architect@1.0.5 /var/opt/architect
└─┬ @purinton/discord@1.0.11
└── discord.js@14.21.0

[root@dev architect]# node -v
v22.16.0
treble/luna
treble/luna5mo ago
thats not a djs error
Russell
RussellOP5mo ago
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.

Did you find this page helpful?