-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
MSTeams: inline pasted images not downloaded (hostedContents contentBytes missing) #50043
Copy link
Copy link
Closed
Closed
Copy link
Description
Bug
Inline pasted images in MSTeams DM and group conversations are not downloaded. The Teams Graph API returns hostedContents without contentBytes, so the current download logic silently fails.
Reproduction
- Configure MSTeams provider
- Paste an image inline in a DM conversation with the bot
- Image attachment is detected but content is empty/not saved
Root cause
The hostedContents collection in the activity attachment doesn't include contentBytes directly. The fix is to download the image via the contentUrl using the bot's auth token instead of relying on the inline content bytes.
Environment
- OpenClaw v2026.3.13-1
@microsoft/[email protected]- Confirmed reproducible on current
main
Related
- Supersedes MSTeams: hostedContents collection response missing contentBytes - images not downloaded in group chats #5448 (locked/closed as NOT_PLANNED, but bug is still present)
- Previous fix PR fix(msteams): fix inline pasted image downloads #10902 (closed by stale bot)
- New fix PR incoming
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.