I have a flow that combines two data bases and appends the combined data into a string value using Initialize Variable.
Next I use Parse JSON and then post it to my database; however, I am getting this error:
The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON1')' is of type 'Object'. The result must be a valid array.
This is my JSON Scheme:
Solved! Go to Solution.
Whew! That was the solution.
I moved the HTTP POST into an Apply to Each with conditions and removed the JSON Schema. Used Expressions and that allowed me to post separate lines of data as individual records.
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.