BotBuilderCommunity / botbuilder-community-dotnet

Part of the Bot Builder Community Project. Repository for extensions for the Bot Builder .NET SDK, including middleware, dialogs, recognizers and more.
MIT License
281 stars 172 forks source link

403 (Forbidden) from conversational language understanding when initiate the bot composer form custom adapter #545

Open Sarmad13 opened 9 months ago

Sarmad13 commented 9 months ago

Hi, I'm writing a custom adapter of twilio for whatsapp in .net. When I try to send a message from twilio adapter to bot composer it gives me 403(forbidden) from CLU in response of that activity but without CLU recornizer in adapter it is working fine.

await RunPipelineAsync(context, bot.OnTurnAsync, cancellationToken).ConfigureAwait(false); after the above line in processAsync, bot composer respond me back with 403 activity.

I'm using CLU as recognizer { "$kind": "Microsoft.CluRecognizer", "projectName": "${settings.clu.projectName}", "endpoint": "${settings.clu.endpoint}", "endpointKey": "${settings.clu.endpointKey}", "deploymentName": "${settings.clu.deploymentName}" }

Any direction would be appreciated.

Thanks