Forum Discussion
Md. Shamim Reza
Jan 30, 2022Copper Contributor
InvalidTemplate. The template language function 'sub' expects its first parameter to be an integer..
InvalidTemplate. Unable to process template language expressions in action 'Compose_6' inputs at line '0' and column '0': 'The template language function 'sub' expects its first parameter to be an in...
sx5349
May 12, 2023Copper Contributor
could you pls help me to find the error in it?
{
"inputs": {
"content": "@triggerBody()?['data']?['alertContext']?['condition']?['allOf']",
"schema": [
{
"childErrors": [],
"errorType": "type",
"lineNumber": 0,
"linePosition": 0,
"message": "Invalid type. Expected Object but got Array.",
"path": "",
"schemaId": "#"
}
]
}
}