Closed
Description
Version
4.13.0
Describe the bug
When running, e.g., the fetch task example, an exception is raised when on_teams_messaging_extension_fetch_task
is called. The problem is that in bot_framework_adapter.py
on line 515, serialize()
is called on invoke_response.value.body
, which is a python dict.
To Reproduce
Steps to reproduce the behavior:
- run the above-mentioned example and add to teams
- Trigger bot's 'create card' message extension
- A dialog is shown with an error, and an exception is raised in the bot code.
Expected behavior
Expected behavior is that the 'Create Card' example dialog is shown instead of an error. A fix to this error could for instance be to change line 515 in bot_framework_adapter.py
to:
return InvokeResponse(
status=invoke_response.value.status,
body=invoke_response.value.body # line 515
Metadata
Metadata
Assignees
Labels
General SDK issues that don't clearly map to other areas (e.g.: helper methods)The issue is related to Teams supportRequired for internal Azure reporting. Do not delete. Do not change color.Must Fix. Release-blockerIndicates an unexpected problem or an unintended behavior.Indicates that the team has replied to the issue reported by the customer. Do not delete.Issue is created by anyone that is not a collaborator in the repository.