Open michaelstiben opened 4 years ago
@michaelstiben The thing here is that when you are using the webchat there is no concept of a Team to forward this over to. That's why you are getting the error that you are seeing. If on the other hand you were using the Teams app for testing, then you would be able to see the requests going to the right Team
@michaelstiben You can still ask questions in a 1:1 chat with the bot. However, as I said before when you are using the webchat as a channel for the bot registration, ask an expert functionality will not be active
I installed the default configuration, it works like a charm. However, I modified the code to allow faq plus answer over webchat.
Everything works well, except the method which send the card to the expert team. When the user press the action card "Ask an expert", SendcardToTeamAsync() is triggered to send the action card and then SendcardToTeamAsync() in the file https://github.com/OfficeDev/microsoft-teams-faqplusplus-app/blob/master/Source/Microsoft.Teams.Apps.FAQPlusPlus/Bots/FaqPlusPlusBot.cs Finally, the line where the code brokes is the https://github.com/OfficeDev/microsoft-teams-faqplusplus-app/blob/70ce3e06e54cde63f3fbdc6577600164948587b4/Source/Microsoft.Teams.Apps.FAQPlusPlus/Bots/FaqPlusPlusBot.cs#L617
I've checked the logs and it said the its a bad request, but I don't understand why its a bad quest. All the parameters of the method are the same of the original code.
If you have any idea about this issue, I'll be super glad.
Thanks in advance