Skip to content

No handling for embed too large #203

Open

Description

@budak7273

https://cdn.discordapp.com/attachments/1452137070842613884/1452140515632873615/SMMDebug-2025-12-21-03-27-43.zip?ex=6948babe&is=6947693e&hm=fe035c34c104a9f9e1c9c5bc377f4a6cfc519a9d7c71ccdcacabe600f616109a&

400 Bad Request (error code: 50035): Invalid Form Body
In embeds.0.fields.0.value: Must be 1024 or fewer in length.

  File "/app/venv/lib/python3.12/site-packages/nextcord/client.py", line 527, in _run_event
    await coro(*args, **kwargs)
  File "/app/fred/fred.py", line 321, in on_message
    _reacted = await self.Crashes.process_message(message)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/fred/cogs/crashes.py", line 406, in process_message
    await self.bot.reply_to_msg(message, embed=embed, propagate_reply=False, files=resp_files)
  File "/app/fred/fred.py", line 256, in reply_to_msg
    return await self.safe_send(message.channel, content, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/fred/fred.py", line 224, in safe_send
    return await chan.send(content, files=files, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/nextcord/abc.py", line 1528, in send
    data = await state.http.send_files(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/nextcord/http.py", line 911, in request
    should_retry = await self._handle_http_response_errors(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/nextcord/http.py", line 1086, in _handle_http_response_errors
    raise HTTPException(response, return_value)

Activity

  1. moved this to 📋 Backlog in FICSIT-Fredon Dec 21, 2025
  2. added theissue type on Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions