Forum Discussion

Bertrand_Kerres's avatar
Bertrand_Kerres
Copper Contributor
Sep 22, 2021

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

  • DanielBoett's avatar
    DanielBoett
    Copper 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.

  • Ikhan24's avatar
    Ikhan24
    Copper Contributor
    Hi, I am still facing this same problem. Was a prospective timeline given on when this issue might be fixed?
  • Could 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_Kerres's avatar
      Bertrand_Kerres
      Copper Contributor

      HunaidHanfee-MSFT 

      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):

      https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-media-attachments?view=azure-bot-service-4.0&tabs=python

       

      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-MSFT's avatar
        HunaidHanfee-MSFT
        Former 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

Resources