matrix-org / matrix-org/mjolnir

error: 'event too large' when running !mjolnir rules after watching #matrix-org-coc-bl:matrix.org

Open
#129 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
445
Forks
75
Avg merge
2d 44m
Merged PRs (30d)
3

Description

Screen Shot 2021-09-03 at 10 03 40 AM

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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.