Forum Discussion

Lakshmi_145's avatar
Lakshmi_145
Brass Contributor
Oct 28, 2023

Adaptive card is not getting updated in new Team client

We are working on bot framework (version 4) and using teams channel for bot communication.

 

Currently teams client has updated to the newer versions with channel information. We are sending adaptive card to the teams and on button click the adaptive card will be getting updated. It was working fine in the old teams client 

But in new teams client web app , card is not getting updated every time. Either we need to change the channel or refresh the browser . Also we are not able to see any notifications of new messages that we are sending bot . We need to refresh or change the channel to see the notification message.

Same behavior we have seen in teams client app also sometimes. Card was not getting updated exactly when we click on the button. We use the time stamp as a unique key for updating the card so that no conflict happens. Also there was no network issues while updating the card

 

Is the issue with new teams web client or is there any suggestions that we can do to update the card at the same time we do button click.

    • Lakshmi_145's avatar
      Lakshmi_145
      Brass Contributor

      SaiPratap-MSFT 

       

      We are not getting the error every time.  But when its not updated we need to either change the teams channel or refresh the browser to update the card. Also we didnt had any network issues that time 

       

      Attached few screenshots

      • SaiPratap-MSFT's avatar
        SaiPratap-MSFT
        Icon for Microsoft rankMicrosoft

        Lakshmi_145  - This kind of error occurs mostly when code is not proper or else network issue. As you are mentioning no network issue , Could you please verify the code once

Resources