I am setting up a Zap that Triggers from a new row in Google Sheets → then finds a Discord user’s ID number → then assigns a role to that User’s ID number. I’ve almost nailed everything until I get to the final test and this error pops up:
Failed to create a role in Discord
“message”: “Missing Permissions”, “code”: 50013
I booted the Zapier bot and re-added it back in and it still didn’t work. It has all the permissions it needs from what I can tell.
Best answer by jesseView original
@JonBoyBeats! Awesome question and we appreciate you reaching out.
Discord can definitely be a bit twisty when it comes to permissions! Have you had an opportunity to run though some of the troubleshooting steps here?
Specifically there’s a link to Discord documentation on how to go about setting up permissions.
In addition, sometimes we see this error when the Zapier bot's own role is too low. Bots cannot assign users to roles higher than the bot itself. The bot's role needs to be higher than the role it's assigning.
Discord determines role priority by its physical place in the "Roles" list, and users can drag and drop to rearrange roles. Moving Zapier's role higher than the role its assigning may resolve the issue.
Keep us posted if this helps!
@JonBoyBeats! I see you were able to reach out to our support team about this so I am coming back here to summarize the solution: