Open Vignesh-JP opened 1 month ago
@Stevenic @pcostantini @mgiovani Can someone help with this.
Hi, can anyone help on this
I'm not familiar with the context of this. It would appear when trying to send a response to the original request. i.e., The bot receives an Activity via an HTTP POST, and likely sends a response to the endpoint indicated in the Activity.ServiceUrl property. In no case would HTML even be expected. Though I don't know in this case where it's sending the response to.
Version
4.16.2
Describe the bug
I'm trying to test a python based MS azure bot using a webchat emulator.. i couldn't get the response from the bot.. When i try it locally with the bot emulator, i could a successful connection establishment between bot and emulator and getting an expected responses.. And when both the bot and webchat emulator runs in my local, i'm even 200 response.
Problem is when I deploy the bot, and use this service url and test on the local emulator i'm getting responses like
And from the bot end, I could see
Even cross-verified the content-type in the request payload and it is set as application/json as expected.. and also verified the versions between local and deployed server.
I'm not sure why is this Cannot deserialize content-type: text/html occurs..
Used versions, aiohttp - 3.10.5 azure-core - 1.30.2 botbuilder-core - 4.16.2 botbuilder-integration-aiohttp - 4.16.2 botbuilder-schema - 4.16.2 botframework-streaming - 4.16.2 urllib3 - 1.26.19 yarl - 1.9.4