Failed to add Discord User
ERROR [add_user:216]
Anyone know how to fix the below?
Failed to add Discord user
Traceback (most recent call last):
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/allianceauth/services/modules/discord/manager.py", line 201, in add_user
groups]
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/allianceauth/services/modules/discord/manager.py", line 200, in <listcomp>
group_ids = [DiscordOAuthManager._group_name_to_id(DiscordOAuthManager._sanitize_group_name(g)) for g in
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/allianceauth/services/modules/discord/manager.py", line 274, in _group_name_to_id
return cache.get_or_set(DiscordOAuthManager._generate_cache_role_key(name), get_or_make_role, GROUP_CACHE_MAX_AGE)
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/redis_cache/backends/base.py", line 33, in wrapped
return method(self, client, key, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/redis_cache/backends/base.py", line 421, in get_or_set
value = func()
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/allianceauth/services/modules/discord/manager.py", line 269, in get_or_make_role
groups = DiscordOAuthManager._get_groups()
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/allianceauth/services/modules/discord/manager.py", line 257, in _get_groups
r.raise_for_status()
File "/home/allianceserver/venv/auth/lib64/python3.6/site-packages/requests/models.py", line 939, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: UNAUTHORIZED for url: https://discordapp.com/api/guilds/485362005893709846/roles