Hi @rob wood
With the trigger failing with a 500 and the error message pointing to an invalid character in Functions.Fortinet-GetEntityDetails
, the attention should be focused there. However, it seems this is a marketplace offering. I see Fortinet is a publisher, but I didn't see anything specific to Function app. It could part of a different offering, but I'm not familiar with their offerings at all.
I don't know what their function does, but I would check to the logs to determine what the HTTP request payload that's being passed. Could be a deserialization issue with the payload. But I suggest reaching out their community and support at https://www.fortinet.com/support/contact to see if anyone there has run into a similar issue.