fastlane-plugin-teams
fastlane-plugin-teams copied to clipboard
C# Server Error
Not sure if Microsoft changed their API or not but I've been seeing this error when using the teams plugin:
An error occurred: System.Reflection.ReflectionTypeLoadException
: Unable to load one or more of the requested types. Retrieve the LoaderExceptions
property for more information.
Fastlane: 2.132.0 Teams Plugin: 0.2.0 Ruby Version: 2.4.2
Usage:
private_lane :teams_message do |options|
teams_url = "https://outlook.office.com/webhook/..."
title = options[:title]
message = options[:message]
teams(
title: title,
message: message,
facts:[],
teams_url: teams_url
)
end
We are seeing this too. Just dug around for 4 hours before finding this issue cut today
As a follow up....we had to evaluate the message before sending it along. eg
teams( title: title, message: "#{message}", facts:[], teams_url: teams_url )
I suspect in our case, during error reporting to MS Teams channels, the error text has something 'bad' in it. Not a Ruby dev day-to-day FYI, but this got us going again. Tracked that down because other messages were sent properly, so not a backend issue at MS perhaps
had a similar error
fastlane returns this
[!] wrong number of arguments (given 0, expected 1) (ArgumentError)
while testing on Postman
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
If you have any suggestion for a fix, it is more than welcome :)
Same issue for us too since yesterday.