MaceWindu / Seq.App.Teams.AdaptiveCard

Seq application for Microsoft Teams
MIT License
7 stars 2 forks source link

MissingMethodException #11

Closed mawidme closed 10 months ago

mawidme commented 10 months ago

For me, whenever this app is triggered by an incoming event, the event's data is not logged and I receive a MissingMethodException message from within the Seq.App.Teams.Adaptive app itself.

We're currently running Seq 2022.1.7449. So I guess that should meet the minimum requirements, at least for the original Seq.App.Teams app according to their comment: Important note: This Seq App packages require Seq 5.0 or later.

Here's the event json data: { "@i": "80bc1123", "@l": "Error", "@mt": "An error occurred while constructing the request", "@t": "2023-12-19T06:46:23.5748716Z", "@x": "System.MissingMethodException: Method not found: 'System.DateTime Seq.Apps.Event1.get_Timestamp()'.\r\n at Seq.App.Teams.TeamsApp.BuildPayload(Event1 evt)\r\n at Seq.App.Teams.TeamsApp.Seq.Apps.ISubscribeToAsync.OnAsync(Event`1 evt)", "AppId": "hostedapp-714", "AppInstanceId": "appinstance-716", "Seq.App": "adaptive teams cards" }

There aren't any app settings besides the level filter below (and the teams webhook URL ofc). "LogEventLevels": "Error,Fatal"

mawidme commented 10 months ago

The issues was resolved after upgrading Seq to 2023.4.10219.