Forum Discussion
Teams button click gives the error and it hangs.
- Jul 04, 2022
AyeshaKulsumSJ - Could you please try downgrading the version to Microsoft Teams Version 1.5.00.17004 (64-bit)-E and check again. User in Teams freezes when user clicks on "task/invoke" button - Stack Overflow thread confirmed that it works for them. We also tried setting up a sample at our end and it worked. Please find the recording at - https://github.com/microsoft/BotBuilder-Samples/issues/3695#issuecomment-1170880026.
I am using this card to render. It's working all the time but randomly when I click button teams is hanged and action is not done.
{"type":"message","attachmentLayout":"list","attachments":[{"contentType":"application/vnd.microsoft.card.hero","content":{"title":"Hello! The Daily Standup is about to start","buttons":[{"type":"invoke","title":"Begin","value":{"type":"task/fetch","data":{"message":"Hello! The Daily Standup is about to start","teamId":"19:PqY2oalEPDqKlOG9xxoOHhanG9pIo1@thread.tacv2"}}}]}}],"inputHint":"acceptingInput"}
AyeshaKulsumSJ - Could you please confirm if your issue is similar to these?
- Task modules not working in ms teams · Issue #3695 · microsoft/BotBuilder-Samples (github.com)
- Teams freezes when user clicks on "task/invoke" button - Stack Overflow
Was it working fine previously?
- AyeshaKulsumSJJun 22, 2022Brass Contributor
Hi Meghana-MSFT, Our issue is exactly similar to this https://stackoverflow.com/questions/72411184/teams-freezes-when-user-clicks-on-task-invoke-button
It's working for everyone except some random case and we are not able to reproduce. We are not getting any request to our server and we get these errors in console. when we checked card and button was correct. Can you please help us solve the issue and let me know if any further details required?
- Meghana-MSFTJun 24, 2022Former EmployeeAyeshaKulsumSJ- There is latest update for teams. Could you please ask them to update and check with latest version? you mentioned that issue occurs in random cases for some users, Are all the users on same Teams version?
- AyeshaKulsumSJJul 03, 2022Brass Contributor
Meghana-MSFT I am just following up to check regarding the above issue. Issue still exists when button is clicked from APP or Browser and there is no API call sent to us but teams is getting hanged where I am not able to click anything after that. Either we have to reload Browser or reopen the app, I can help you with any further details required. Looking forward to hearing from you.