Skip to content

While converting payload request as Activity Object from copiloat agents UI Im getting validation error #281

@Harish-ilink

Description

@Harish-ilink

I am having azure bot which forwards that to aendpoint which is my backend code for the agent .Now while i am chatting from copilot agent UI .Im trying to deserialize the request payload json into activity object I am getting validation error .Since the Coploit payload and teams payload differ a bit

Code :
activity = Activity().deserialize(body)

Error:
[ERROR]: Validation error for Activity: 1 validation error for ValidatorCallable 2025-12-09 13:11:15 type 2025-12-09 13:11:15 Field required [type=missing, input_value={}, input_type=dict] 2025-12-09 13:11:15 For further information visit https://errors.pydantic.dev/2.11/v/missing (microsoft_agents.activity.activity:230)

Metadata

Metadata

Labels

QuestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions