Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mudou o limite? #25

Open
iuriguilherme opened this issue Jan 20, 2025 · 0 comments
Open

Mudou o limite? #25

iuriguilherme opened this issue Jan 20, 2025 · 0 comments

Comments

@iuriguilherme
Copy link
Owner

iuriguilherme commented Jan 20, 2025

ERROR:iacecil.controllers.aiogram_bot.bot:Message is too long
Traceback (most recent call last):
  File "/media/sdd1/iuri/.local/share/virtualenvs/iacecil.0.2-rGDnHZYS/src/iacecil/src/iacecil/controllers/aiogram_bot/bot.py", line 65, in exception_handler
    self.command = await super_function(*args, **kwargs)
  File "/media/sdd1/iuri/.local/share/virtualenvs/iacecil.0.2-rGDnHZYS/lib/python3.10/site-packages/aiogram/bot/bot.py", line 346, in send_message
    result = await self.request(api.Methods.SEND_MESSAGE, payload)
  File "/media/sdd1/iuri/.local/share/virtualenvs/iacecil.0.2-rGDnHZYS/lib/python3.10/site-packages/aiogram/bot/base.py", line 236, in request
    return await api.make_request(await self.get_session(), self.server, self.__token, method, data, files,
  File "/media/sdd1/iuri/.local/share/virtualenvs/iacecil.0.2-rGDnHZYS/lib/python3.10/site-packages/aiogram/bot/api.py", line 140, in make_request
    return check_result(method, response.content_type, response.status, await response.text())
  File "/media/sdd1/iuri/.local/share/virtualenvs/iacecil.0.2-rGDnHZYS/lib/python3.10/site-packages/aiogram/bot/api.py", line 115, in check_result
    exceptions.BadRequest.detect(description)
  File "/media/sdd1/iuri/.local/share/virtualenvs/iacecil.0.2-rGDnHZYS/lib/python3.10/site-packages/aiogram/utils/exceptions.py", line 140, in detect
    raise err(cls.text or description)
aiogram.utils.exceptions.MessageIsTooLong: Message is too long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant