cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mario21
Frequent Visitor

error generate csv

Hi everyone, I'm Mario from Chile.
I am starting with power automate, at my work I was asked to make a flow that runs every day in the morning where a query is executed and the result of that query is left in a csv and sent by mail

I did the tests but it tells me that I have an error when the csv is going to be generated

 

"The value of the "from" property of the inputs of the "table" action is of type "Object", but it must be of type "Array"."

 

 

 

Mario21_0-1646941151590.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mister_Shaik
Solution Sage
Solution Sage

Hi @Mario21 ,

 

The "Create CSV" expects its inputs to be an array of objects. Can you provide some more info or screenshots of how your output data model of SQL action looks like?

 

Kind Regards,

Shaik Sha
________________________________________________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Mister_Shaik
Solution Sage
Solution Sage

Hi @Mario21 ,

 

The "Create CSV" expects its inputs to be an array of objects. Can you provide some more info or screenshots of how your output data model of SQL action looks like?

 

Kind Regards,

Shaik Sha
________________________________________________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.

Mario21
Frequent Visitor

I had a divine illumination and I was missing a step that was to make the json

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,532)