Search code examples
node.jsbotframeworkchatbotmicrosoft-teamsadaptive-cards

Microsoft bot framework - Returns 502 error from task/fetch


I have an MS Teams adapter written using the botframeworks sdk v4 for node js which works perfectly for normal conversations. But when I try to do a task/fetch, it returns an error message "Unable to reach app. Please try again." on the task module popup Unable to reach app. Please try again. 502 error messages unable to invoke


Solution

  • Posting the Answer for better knowledge

    Copying from @siva subramanian comments

    Added a ** handleTeamsTaskModuleFetch ** server side action inside bot section.