Can't send post to Channel team from web chatbot

%3CLINGO-SUB%20id%3D%22lingo-sub-1381304%22%20slang%3D%22en-US%22%3ECan't%20send%20post%20to%20Channel%20team%20from%20web%20chatbot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1381304%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%20in%20advance%20for%20everyone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20using%20the%20FAQ%20PLUS%20template%20to%20connect%20web%20chat%20users%20with%20teams%20agents.%20The%20message%20to%20publish%20in%20teams%20is%20created%20well%2C%20but%20when%20the%20code%20use%20BotFrameworkAdapter.CreateConversationAsync()%2C%20the%20execution%20fail%20because%20of%20a%20'bad%20request'.%20I've%20searched%20about%20but%20there%20isn't%20info%20related%20with%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20log%20output%20is%3A%3C%2FP%3E%3CPRE%3EMicrosoft.Bot.Schema.ErrorResponseException%3A%20Operation%20returned%20an%20invalid%20status%20code%20'BadRequest'%3C%2FPRE%3E%3CP%3E%26nbsp%3Bthe%20template%20is%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-faqplusplus-app%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-faqplusplus-app%3C%2FA%3E%3C%2FP%3E%3CP%3EAnd%20the%20method%20that%20is%20failing%20it%20is%20found%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-faqplusplus-app%2Fblob%2F70ce3e06e54cde63f3fbdc6577600164948587b4%2FSource%2FMicrosoft.Teams.Apps.FAQPlusPlus%2FBots%2FFaqPlusPlusBot.cs%23L617%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-faqplusplus-app%2Fblob%2F70ce3e06e54cde63f3fbdc6577600164948587b4%2FSource%2FMicrosoft.Teams.Apps.FAQPlusPlus%2FBots%2FFaqPlusPlusBot.cs%23L617%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1381304%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi,

 

thanks in advance for everyone.

 

I'm using the FAQ PLUS template to connect web chat users with teams agents. The message to publish in teams is created well, but when the code use BotFrameworkAdapter.CreateConversationAsync(), the execution fail because of a 'bad request'. I've searched about but there isn't info related with it.

 

The log output is:

Microsoft.Bot.Schema.ErrorResponseException: Operation returned an invalid status code 'BadRequest'

 the template is this: https://github.com/OfficeDev/microsoft-teams-faqplusplus-app

And the method that is failing it is found here: https://github.com/OfficeDev/microsoft-teams-faqplusplus-app/blob/70ce3e06e54cde63f3fbdc657760016494...

0 Replies