Skip to content

[Bug]: Validation fails for meeting_start and meeting_end activities #245

@Carter-Apas

Description

@Carter-Apas

Bug Description

When running the bot service I can see the events occuring for meeting_start and meeting_end.

The validation fails across all input attributes because they are in snake_case.

Fixing files:
packages/api/src/microsoft/teams/api/activities/event/meeting_end.py
packages/api/src/microsoft/teams/api/activities/event/meeting_start.py

To accept snakeCase population seems to work fine

Steps to Reproduce

  1. Run the bot service.
  2. Install the app in meeting.
  3. Leave and join meeting. Attempt to hook into the @app.on_meeting_end and @app.on_meeting_start
  4. Validation error

Expected Behavior

No validation error and usable input

Actual Behavior

Validation Error:
[ERROR] @teams/app.HttpPlugin {
[ERROR] @teams/app.HttpPlugin "type": "missing",
[ERROR] @teams/app.HttpPlugin "loc": [
[ERROR] @teams/app.HttpPlugin "event",
[ERROR] @teams/app.HttpPlugin "application/vnd.microsoft.meetingEnd",
[ERROR] @teams/app.HttpPlugin "value",
[ERROR] @teams/app.HttpPlugin "meetingType"
[ERROR] @teams/app.HttpPlugin ],
[ERROR] @teams/app.HttpPlugin {
[ERROR] @teams/app.HttpPlugin "type": "missing",
[ERROR] @teams/app.HttpPlugin "loc": [
[ERROR] @teams/app.HttpPlugin "event",
[ERROR] @teams/app.HttpPlugin "application/vnd.microsoft.meetingEnd",
[ERROR] @teams/app.HttpPlugin "value",
[ERROR] @teams/app.HttpPlugin "joinUrl"
[ERROR] @teams/app.HttpPlugin ],

SDK Version

2.0.0.a8

Python Version

Python 3.13.11

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions