mudler / mudler/LocalAGI

Discord connector does not appear to be working.

Open
#79 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2k
Forks
291
Avg merge
30m
Merged PRs (30d)
3

Description

The bot is online, but it does not respond. The logs only show this error:
time=2025-04-23T21:52:07.950Z level=ERROR msg="error creating thread" err="HTTP 401 Unauthorized, {"message": "401: Unauthorized", "code": 0}" source.file=/work/services/connectors/discord.go source.L=180

I should mention, the bot itself has all the permissions it needs to see messages and make threads etc... I even temporarily gave it admin and it did not change anything.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in services/connectors/discord.go around line 180, where thread creation reports the HTTP 401 error. Reproduce the Discord connector failure and trace the authentication request that leads to the unauthorized response. Done means the online bot responds and can create threads without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.