Error message:
{
"message": "JSON failed output schema validation for the following reasons: instance type (object) does not match any allowed primitive type (allowed: ["array"])",
"code": "invalid.schema",
"status": 400,
"messageParams": {},
"contextId": "d9b871b7-e2ac-453a-b986-1213807910cb",
"details": [
{
"errorCode": "ACTION.PROCESSING"
}
],
"errors": []
}
So on your first example instead of doing a split, replace ; with ", " Meaning something like:
"successTemplate": "#set($Lista-array = $listaTab.replace(";", "$esc.quote, $esc.quote:")) {\n "listaTabulacao": [\"$Lista-array\"]}"
I didn't check if that was exactly right, but hopefully gets you in the right direction.
Please provide the output that you are getting from the endpoint (Shows up as the "Execute" step in test mode) and an export of your action to look at.