-
Notifications
You must be signed in to change notification settings - Fork 25
Bot - Failed to fetch bots status: Button_data_invalid #47
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
While checking condor bot for this week, i see that the /bots menu does not work for my condor instance even ran it on source or docker build with an error of Error showing bots menu: Button_data_invalid.
2026-03-23 03:26:51,515 - handlers.bots.menu - ERROR - Error showing bots menu: Button_data_invalid
Traceback (most recent call last):
File "/app/handlers/bots/menu.py", line 199, in show_bots_menu
await msg.reply_text(
File "/app/.venv/lib/python3.12/site-packages/telegram/_message.py", line 2068, in reply_text
return await self.get_bot().send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 3115, in send_message
return await super().send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 1122, in send_message
return await self._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 629, in _send_message
result = await super()._send_message(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 819, in _send_message
result = await self._post(
^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 703, in _post
return await self._do_post(
^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/ext/_extbot.py", line 369, in _do_post
return await super()._do_post(
^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/_bot.py", line 732, in _do_post
result = await request.post(
^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 198, in post
result = await self._request_wrapper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 375, in _request_wrapper
raise exception
telegram.error.BadRequest: Button_data_invalid
What i found was the bot deployed via mcp may have triggered the issue due to generated long container name.
- The deploy itself completed however the
/botsmenu tries to call the full instance name and may have hit a limit and therefore cause the error - I stop and redeploy using condor's instance format and observed that it is now working as expected ✅

Steps to reproduce
- setup hummingbot-api with hummingbot-mcp
- deploy the bot via mcp
- check the bot deployed on condor
Attach required files
n/a
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working