-
-
Notifications
You must be signed in to change notification settings - Fork 57.3k
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Bug: Feishu/Lark audio resource download uses unsupported type=audio (should be type=file)
Summary
When receiving Feishu audio messages, the gateway attempts to download the resource using:
GET /im/v1/messages/:message_id/resources/:file_key?type=audio
This returns HTTP 400.
Per Feishu official docs, the type query parameter only supports image or file, and audio/video should be fetched using type=file.
Environment
- Channel: Feishu/Lark
- Package: openclaw-cn 2026.2.3 (Homebrew install) (but the same Feishu channel code appears to be vendored from upstream)
Steps to reproduce
- Send a voice message to the bot in Feishu.
- Observe the media download request.
Actual behavior
Audio download fails (HTTP 400).
Expected behavior
Audio resource should be downloaded successfully.
Reference
Feishu docs: https://open.feishu.cn/document/server-docs/im-v1/message/get-2
type=image: imagestype=file: files, audio, video (except stickers)
Suggested fix
For message_type === "audio", call messageResource.get with type="file".
Optionally keep downstream metadata/placeholder as <media:audio>.
Code pointers
feishu/downloadaudio branch currently passestype="audio"to the resource endpoint.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity