1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] aiogram 3 bot begin to send a parse error [closed]

Discussão em 'Python' iniciado por Stack, Setembro 15, 2024.

  1. Stack

    Stack Membro Participativo

    I created the bot using aiogram 3.4.1 and it worked well. I left the project for two months and returned to it recently. When calling any menu, the bot gives an error:

    aiogram.exceptions.TelegramBadRequest: Telegram server says - Bad Request: can't parse entities: Unsupported start tag "" at byte offset


    Next are lines about dispatcher errors:

    Traceback (most recent call last):
    File "/Users/.../lib/python3.10/site-packages/aiogram/dispatcher/dispatcher.py", line 309, in _process_update
    response = await self.feed_update(bot, update, **kwargs)
    File "/Users/.../lib/python3.10/site-packages/aiogram/dispatcher/dispatcher.py", line 158, in feed_update
    response = await self.update.wrap_outer_middleware(
    File "/Users/.../lib/python3.10/site-packages/aiogram/dispatcher/middlewares/error.py", line 25, in __call__
    return await handler(event, data)
    ... and more


    I have tried other versions of aiogram. I changed the quotes in the menu item definitions to single ones. Nothing helped. Search didn't help me too.

    Please help me to understand what the problem is it, because the bot worked well before, and I don’t want to completely rewrite it.

    Continue reading...

Compartilhe esta Página