botbuilder-python icon indicating copy to clipboard operation
botbuilder-python copied to clipboard

Errors returned from a skill call have an incorrect 'content type' of text/plain

Open EricDahlvang opened this issue 5 years ago • 2 comments

Version

latest

Describe the bug

If an exception occurs when a skill calls the skill host, the content type header is text/plain when it should be application/json

Screenshots

If applicable, add screenshots to help explain your problem. image

Additional context

This results in 'Cannot deserialize content-type: text/plain'', and it is extremely difficult to determine the actual underlying error.

EricDahlvang avatar Sep 15 '20 16:09 EricDahlvang

@EricDahlvang I've seen text before when the response isn't json... as in an error, bad request, etc... The result code of this is 401. Could that be related?

tracyboehrer avatar Sep 15 '20 17:09 tracyboehrer

I would love to work on this !!

anushkrishnav avatar Nov 30 '20 13:11 anushkrishnav