Power Automate errors / Schema
InvalidTemplate. The provided value is of type 'Null'.
Cause
An expression using dynamic values fails at runtime because the actual data is null when a string, object, or array was expected - not catchable at save time.
Fix
Open the failed run, select the action, and inspect Inputs for the actual value. Guard null-prone references with if(empty(...)) or coalesce() to supply a default. Validate types before conversion (e.g. isInt() before int()). For dates, pass an explicit format to formatDateTime()/parseDateTime().
Part of the Automation Error Index — Power Automate errors: browse all.
Hitting an automation error we have not covered?
AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.
Describe the problem