|
1 | | -# Troubleshooting |
| 1 | +--- |
| 2 | +description: Using Linked Roles can be complicated and it's easy to run into issues. |
| 3 | +sidebar_position: 6 |
| 4 | +--- |
| 5 | + |
| 6 | +# Troubleshooting |
| 7 | + |
| 8 | +Using Linked Roles can be complicated, and it's easy to run into issues. In this document, we'll look at common issues |
| 9 | +and ways to fix these issues. |
| 10 | + |
| 11 | +## Overview {#content} |
| 12 | + |
| 13 | +Please select the issue you are running into. |
| 14 | + |
| 15 | +Issues during setup: |
| 16 | + |
| 17 | +* [I can't add the Link requirement to a Discord role](#link-requirement). |
| 18 | + |
| 19 | +Issues when using Linked Roles: |
| 20 | + |
| 21 | +* [The Linked Role is not displayed in the chat](#display-missing). |
| 22 | +* [Users are not being give the Linked Role](#role-not-given). |
| 23 | +* ["Invalid OAuth2 redirect_url" when claiming Linked Roles](#oauth2-redirect-url). |
| 24 | +* ["Seems like the configuration by the server owner is wrong." when claiming Linked Roles](#generic-api-error). |
| 25 | + |
| 26 | +If your issue isn't listed here, [click here](#other). |
| 27 | + |
| 28 | +## Issues during setup & configuration {#setup} |
| 29 | + |
| 30 | +### Can't save Link requirement on Discord role {#link-requirement} |
| 31 | + |
| 32 | +When [setting up a Linked Role on Discord](./role-managment#linked-role-on-discord), you might run into an "Invalid |
| 33 | +role" error when adding the Link requirement to a Discord role. |
| 34 | + |
| 35 | +**Solution**: You can't add Link requirements to roles that has members. Consider removing the role from all of your |
| 36 | +members or create a new role. |
| 37 | + |
| 38 | +## Issues when using Linked Roles {#usage} |
| 39 | + |
| 40 | +### The role is not displayed in the chat {#display-missing} |
| 41 | + |
| 42 | +When using Linked Roles, you might run into an issue where the role is not displayed next to the username in the chat. |
| 43 | + |
| 44 | +**Solution**: To display the Linked Role next to the username, you'll need to create a permission overwrite with the |
| 45 | +"View channel" permission for the Linked Role in every channel. You |
| 46 | +can [learn more in our guide about this](./role-managment#display-in-chat). |
| 47 | + |
| 48 | +## "Seems like the configuration by the server owner is wrong." when claiming Linked Roles {#generic-api-error} |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +## "Invalid OAuth2 redirect_url" when claiming Linked Roles {#oauth2-redirect-url} |
| 53 | + |
| 54 | +When setting up Linked-Roles, the redirect URL needs to be saved in the Discord Developer Portal; otherwise this error |
| 55 | +will be shown. |
| 56 | + |
| 57 | +**Solution**: |
| 58 | + |
| 59 | +1. Open your [Linked Roles configuration pag](https://scnx.app/glink?page=linked-roles/configuration) and copy the " |
| 60 | + Redirect URL" in the "Authorization details" card. It should look like this: |
| 61 | + `https://linked-roles.scnx.app/api/b4e5e89a-1c92-11f0-b688-03c2706e348f/callback` (the middle part might change based |
| 62 | + on |
| 63 | + your server). |
| 64 | +2. Open the [Discord Developer Portal](https://discord.com/developers/applications) and select your bot. |
| 65 | +3. Go to the "Oauth2" tab of your bot, and click on "Add another" in the "Redirects" section. |
| 66 | +4. Paste the copied redirect URL and save the changes. |
| 67 | +5. Retry [claiming the role](./claim-roles). |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +## Users are not being given the Linked Role {#role-not-given} |
| 72 | + |
| 73 | +When using Linked Roles, users won't receive the role automatically. |
| 74 | + |
| 75 | +**Solution**: Users need to manually [claim the Linked Role](./claim-roles). You can send them a link to our guide: [ |
| 76 | +`https://scootk.it/claim-linked-roles`](https://scootk.it/claim-linked-roles). |
| 77 | + |
| 78 | +## Other issues {#other} |
| 79 | + |
| 80 | +Oh no, that's weird - we're always happy to assist you with your issue on our [Discord](https://scootk.it/dc-en) or |
| 81 | +on [scnx.app/help](https://scnx.app/help). |
0 commit comments