Skip to content

Too long rule number causes an Invalid Form Body error #1975

@sentry

Description

@sentry

Sentry Issue: BOT-1QT

HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In content: Must be 2000 or fewer in length.
  File "discord/ext/commands/core.py", line 167, in wrapped
    ret = await coro(*args, **kwargs)
  File "bot/exts/info/site.py", line 129, in site_rules
    await ctx.send(f":x: Invalid rule indices: {invalid}")
  File "discord/abc.py", line 1422, in send
    data = await state.http.send_message(
  File "discord/http.py", line 335, in request
    raise HTTPException(response, data)

Error executing command invoked by [READCTED]: !rule 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

Metadata

Metadata

Assignees

Labels

a: frontendRelated to output and formattingt: bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions