Error: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'ticket' validation failed in workflow operation 'Create_a_ticket': The parameter with value '"@body('Parse_JSON')?['SupportType']"' in path 'ticket/customFields/SupportType' with type/format 'String' is not convertible to type/format 'Object'.'.
Hello Ashnil. It is a known issue and we are working on solving it. It occurs when you build a JSON object in the "Ticket Custom Fields." There is a temporary workaround for this - just build the object in a "Compose" action:
@Evgeniy .... i receive the below error with suggested approach.
{"error":"Failed to create Tickets list item: {"odata.error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":{"lang":"en-US","value":"A node of type 'StartArray' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected."}}}"}