Hello Chuck Roberts,
The flatten transformation unrolls an array. Hence, the unroll root must be an array of complex objects.
The possible root cause is that your complex object type is not an array.
You can refer the below document for more information about the flatten transformation requirement.
https://learn.microsoft.com/en-us/azure/data-factory/data-flow-flatten#unroll-by
I hope this answers your question.