OfficeDev / microsoft-teams-apps-adopt-bot

MIT License
25 stars 14 forks source link

Ask an expert is not working #4

Closed SubbaReddi closed 3 years ago

SubbaReddi commented 3 years ago

Hi Team, Deployment app template by following deployment guide. But when we ask for an expert by giving title and description, app is throwing following error:

Sorry, the bot can't talk for a while. It's something the bot's owner needs to address. Error code: 2012. Conversation ID: 1oX8oqktQe3L8Aq057XA3W-k. Time (UTC): 2/10/2021 11:17:09 AM.

Sent at February 10 at 4:47 PM Bot true said: We couldn't find in . Please check your content.

image

ikukoyoneda commented 3 years ago

The same issue happens with "Submit Feedback". I deleted two Power Automate actions from "Escalate" topic, and re-added "AdoptBot Ask An Expert" and "AdoptBot Submit Feedback" actions, and it worked.

image

Hickey77 commented 3 years ago

Updated the wiki deployment guide to account for this issue:

IMPORTANT: If Ask An Expert or Submit Feeback Flow fails with "Sorry the Bot can't talk for a while.." you need to remove and re-add the Ask An Expert Action in the Escalate topic.

image

Click the ellipsis next to Ask An Expert Flow Action and Choose Delete

Click + Add node in PVA conversation tree and choose Call an Action - AdoptBot Ask An Expert

Remap the 3 input variables (UPN -> bot.UserId, Title -> Var_AskTitle, Desc -> Var_AskDesc)

Save the Escalate topic and re-test in PVA Test UI

SubbaReddi commented 3 years ago

Thank you Matthew