matrix-org / matrix-org/mjolnir
error: 'event too large' when running !mjolnir rules after watching #matrix-org-coc-bl:matrix.org
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 445
- Forks
- 75
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 3
Description

The logs show:
[ERROR] [CommandHandler] { errcode: 'M_TOO_LARGE', error: 'event too large' }
[ERROR] [MatrixHttpClient (REQ-59)] { errcode: 'M_TOO_LARGE', error: 'event too large' }
[INFO] [Mjolnir] Command being run by @user:example.com: !mjolnir rules
[WARN] [Mjolnir] Not protecting !WuBtumawCeOGEieRrp:matrix.org - it is a ban list that this bot did not create. Add the room as protected if it is supposed to be protected. This warning will not appear again.
[ERROR] [MatrixHttpClient (REQ-45)] { errcode: 'M_NOT_FOUND', error: 'Event not found.' }
[ERROR] [MatrixHttpClient (REQ-43)] { errcode: 'M_NOT_FOUND', error: 'Account data not found' }
[INFO] [Mjolnir] Joined !WuBtumawCeOGEieRrp:matrix.org
[INFO] [Mjolnir] Command being run by @user:example.com: !mjolnir watch #matrix-org-coc-bl:matrix.org
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the logged !mjolnir rules and !mjolnir watch #matrix-org-coc-bl:matrix.org commands as the reproduction path, then inspect the Matrix request handling around the reported M_TOO_LARGE response. Done means the command completes without the event-too-large error and the related Matrix errors are understood or resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100