HKUDS/nanobot · error · RuntimeError
Feishu {m_type} message was not delivered
Error message
Feishu {m_type} message was not delivered What it means
Error "Feishu {m_type} message was not delivered" thrown in HKUDS/nanobot.
Source
Thrown at nanobot/channels/feishu/runtime.py:2541
return
elif first_send:
# If we're not in a topic but replying to message, only first uses reply
first_send = False
ok = self._reply_message_sync(
reply_message_id, m_type, content,
reply_in_thread=self._should_use_reply_in_thread(msg.metadata),
)
if ok:
return
# Fall back to regular send if reply fails
message_id = self._send_message_sync(
receive_id_type,
msg.chat_id,
m_type,
content,
)
if not message_id:
raise RuntimeError(f"Feishu {m_type} message was not delivered")
for file_path in msg.media:
if not os.path.isfile(file_path):
self.logger.warning("Media file not found: {}", file_path)
continue
ext = os.path.splitext(file_path)[1].lower()
if ext in self._IMAGE_EXTS:
key = await loop.run_in_executor(None, self._upload_image_sync, file_path)
if key:
await loop.run_in_executor(
None,
_do_send,
"image",
json.dumps({"image_key": key}, ensure_ascii=False),
)
else:
key = await loop.run_in_executor(None, self._upload_file_sync, file_path)
if key:View on GitHub (pinned to 42f37dc4c0)
When it happens
Trigger: Thrown at nanobot/channels/feishu/runtime.py:2541 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of HKUDS/nanobot@42f37dc4c0 (2026-08-26).
Data as JSON: /api/errors/a1e57df4e86c6b43.
Report an issue: GitHub.