I am calling a third party REST API in MS Teams Bot on a particular input form user in the chat bot. Sometimes, the third party REST API response time is slower than usual. In such cases. MS Teams show the following message to the user with a Red color warning icon - "Unable to reach app. Please try again." Within few seconds of the Red color warning, the Teams however shows the correct data returned by the API successfully in the chat windows.
How do I handle such scenarios ("red warning") gracefully in the Teams Chat Bot caused by delay caused by calls to external REST APIs. Is there any time-out value in Microsoft Teams App that I have to modify to eliminate this kind of Warnings ?
Thanks!