larksuite / larksuite/oapi-sdk-python

client.im.v1.message_resource.get(request)和client.im.v1.image.get(request)方法无法获取合并转发子消息中的图片内容

Open
#120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
559
Forks
102
PR merge metrics
No merged PRs in 30d

Description

使用标题中的方法获取合并转发子消息中的图片时,报以下错误:

[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"
}
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with client.im.v1.message_resource.get(request) and client.im.v1.image.get(request) against an image inside a merged-forward child message. Trace how these methods resolve message and image resources, then verify that the child image can be retrieved without the 234003 “File not in msg” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.