Forum Discussion
Bertrand_Kerres
Sep 22, 2021Copper Contributor
Images sent by chat bot not shown after Teams update
We have a chat bot that can send plots of measurement data as attachments. Since a Teams update today of my Windows client app (to 1.4.00.22976), the pictures are not shown anymore. The outline is still visible.
Adaptive cards that contain e.g. tables work fine, the problem is only with images.
Another error that appears since today is displayed in the login card, see below. The login clearly works, since the bot can use delegated authority to access data from our SharePoint. But it always complains about being unable to reach the app.
The bot works perfectly fine using the web client, my mobile, or a colleagues' computer (with the old Teams version), so I'm thinking it must be the client app.
The chat bot is sideloaded using a zip file (upload custom app), it is a development version. The relevant domains (*.botframework.com for authentication, *.azurewebsites.net for the bot webserver) are added to the validDomains attribute in the manifest.
Picture missing:
Login error:
37 Replies
Sort By
- DanielBoettCopper Contributor
Bertrand_Kerres This seems to have been fixed with Monday's update of MS Teams. Version: 1.5.00.5967. We can see adaptive cards with (clickable) images working again.
- Bertrand_KerresCopper Contributor
DanielBoett Yes, we can also now enlarge adaptive cards with an image inside. However, the "Download"-button in the enlarged view has no effect.
- Prasad_Das-MSFT
Microsoft
DanielBoett -Glad to hear that issue is resolved. Thanks!
- Ikhan24Copper ContributorHi, I am still facing this same problem. Was a prospective timeline given on when this issue might be fixed?
- Prasad_Das-MSFT
Microsoft
The fix is still in progress. There is no such ETA to share as of now.
- HunaidHanfee-MSFTFormer EmployeeCould you share the Adaptive card minimal JSON to repro? Or the version of Adaptive card you have used?
I would like you to share the bot Id and timestamp when you faced the issue. I will look into the logs. Also follow this to see if you getting any error in console - https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/developer-tools
Thanks- Bertrand_KerresCopper Contributor
I get the following errors in the console:
ERR_CONNECTION_TIMED_OUT, ERR_CONNECTION_ABORTED
The images are not sent as AdaptiveCards (at least not explicitly), but rather as base64 encoded string attachment like in this example (_get_inline_attachment):
Adaptive cards with tables etc. work fine, except for the timeout error in the login card.
I attached the json response using bot framework emulator.
I'll send the bot id in a private message.
- HunaidHanfee-MSFTFormer Employee
Bertrand_Kerres - We have tried ourselves in the same version and we are not facing any issue. Could you please confirm, if your colleagues having same version, for them it's not working?
We are looking into the bot logs, I will update you if I find any.
Have you tried signing out and login back? (it might solve the issue)
Thanks