UNICT-DMI / Telegram-DMI-Bot

A telegram bot for the DMI students 🎓 (@DMI_Bot)
https://t.me/DMI_Bot
GNU General Public License v3.0
41 stars 30 forks source link

Gitlab 401 Unauthorized #260

Closed drendog closed 1 year ago

drendog commented 1 year ago

After type /gitlab, you can get the following error (probably due to expired token or permissions):

  File "/dmibot/module/gitlab.py", line 52, in git
    gitlab_handler(update, context)
  File "/dmibot/module/gitlab.py", line 357, in gitlab_handler
    subgroups = get_subgroups(GITLAB_ROOT_GROUP)
  File "/dmibot/module/gitlab.py", line 112, in get_subgroups
    return api.groups.get(group_id).subgroups.list()
gitlab.exceptions.GitlabAuthenticationError: 401: 401 Unauthorized