client.im.v1.message_resource.get(request)和client.im.v1.image.get(request)方法无法获取合并转发子消息中的图片内容
还没有人认领这个 Issue。
评估
调研方向
首先,针对合并转发的子消息中的图片,使用 client.im.v1.message_resource.get(request) 和 client.im.v1.image.get(request) 复现该故障。跟踪这些方法如何解析消息和图片资源,然后验证无需出现 234003 “File not in msg” 错误即可获取子消息中的图片。
由索引模型根据 Issue 内容生成。
描述
使用标题中的方法获取合并转发子消息中的图片时,报以下错误:
[ERROR] client.im.v1.message_resource.get failed, code: 234003, msg: File not in msg., log_id: None, resp:
{
"code": 234003,
"msg": "File not in msg.",
"error": {
"log_id": "202604012031036FC2472D300F75995D36",
"troubleshooter": " 排查建议查看 (Troubleshooting suggestions): https://open.feishu.cn/search?from=openapi&log_id=202604012031036FC2472D300F75995D36&code=234003&method_id=6936075528891301916"
}
}
- 主要语言
- Python
- 星标
- 561
- 派生
- 101
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
larksuite/oapi-sdk-python 的其他 Issue
-
DeprecationWarning on Python 3.12+: bundled well_known_types.py uses deprecated datetime.datetime.utcfromtimestamp可能已有人在做 @roson9527 于 78 天前认领。 未关闭
难度 1/5 1-3 小时 新手友好度 88/100
larksuite/oapi-sdk-python#145 ·
-
[Python lark-oapi 1.6.7] InboundMessage.mentioned_bot is always False for IM messages可能已有人在做 @Xuxchloris 于 60 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
larksuite/oapi-sdk-python#134 ·
-
AttributeError: module 'pkg_resources' has no attribute 'declare_namespace'可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
larksuite/oapi-sdk-python#115 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 68/100
larksuite/oapi-sdk-python#113 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
larksuite/oapi-sdk-python#55 ·
查看 larksuite/oapi-sdk-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
task
难度 2/5 1-3 小时 新手友好度 78/100
danparshall/claude_researcher#87 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
datajoint/datajoint-python#1586 ·
维护者通常 1 天内回复
-
1D intercept of length 1 is accepted as `fix_params` in population GLM with more than 1 unit可能已有人在做 @dhvani7014 今天认领。 未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 72/100
flatironinstitute/nemos#642 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
uniswap-python/uniswap-python#487 ·