Power Automate · Cloud flows: design-time errors
InvalidTemplate
Short answer
InvalidTemplate in a Power Automate cloud flow: The flow definition contains a syntax error in an expression or action configuration. The most likely fix is to fix expression syntax.
VerifiedLast verified
01Error text
InvalidTemplate02Likely causes
- Unmatched parentheses or quotes in an expression
- Referencing an action output that doesn't exist (typo in action name)
- Using a function with the wrong number of arguments (for example,
createArray()with no arguments) - Type mismatch in a constant expression (for example,
int('abc')ordiv(100, 0)), the engine validates these at save time - Copy-pasting expressions from documentation that includes invisible Unicode characters
03How to fix it
- Open the action highlighted in red in the designer.
- Check the expression in the formula bar. Look for unmatched
()or'characters. - Verify action names in expressions match exactly (case-sensitive):
outputs('Get_item')notoutputs('Get Item'). - If the expression looks correct, delete it and retype it manually to remove hidden characters.
iNotes
Action names in expressions use underscores instead of spaces. If your action is named "Get item", the expression reference is outputs('Get_item').
04Official documentation
→Related errors
- ExpressionEvaluationFailedExpressionEvaluationFailed in a Power Automate cloud flow: An expression failed to evaluate at runtime because the actual data didn't match what the expression expected. This error only occurs when the expression uses **dynamic values** (variables, trigger body, action outputs) that can't be checked at save time. The most likely fix is to add null checks, validate types.
- FlowCheckerErrorFlowCheckerError in a Power Automate cloud flow: The flow checker found one or more validation issues that prevent saving. The most likely fix is to fill required fields, fix connections.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Power Automate work:Open Power Automate jobs