azure.core.exceptions.DeserializationError: Cannot deserialize content-type: text/html #2178
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
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
The text was updated successfully, but these errors were encountered: