cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hita
Regular Visitor

internal server error: Called flow from Power Apps and pass form information as JSON parameter to create an Item

Hi, Full of excitement I was trying to simulate video in my tenant. The only changes I made are, that I added PersonGroup and Attachments.
After that, I run the flow and Encountered an internal server error. The tracking Id is xx-xx..".

It was unable to create an Item. I believe it's due to "people picker". Also, I believe, it won't allow attachment too.

Any Solution for me??

List

hita_1-1663383064750.png

 

Powerapps_OnSelect pass JSON value to flow

hita_0-1663382897812.png

 

Trying to create List Item and encounter Internal server error

hita_2-1663383466648.png

err_paps.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Pass SP FormData and Attachment VALUE to Powerautoamte from PowerApps.

sgrpdl_1-1663908963526.png

ParseJSON for Attachment as well :), this shot might guide you. 

 

sgrpdl_2-1663909075724.png

 

there is a connector called Add Attachment, use that for adding attachment files to the SharePoint list 

sgrpdl_4-1663909943043.png

Power Apps End..

sgrpdl_5-1663911410131.png

 

--

 

 

View solution in original post

6 REPLIES 6
muralidharan
Resolver III
Resolver III

@hita 

You can directly create list item from Power Apps instead of calling Power Automate to create list item. Is that any specific reason, do you wanted to do that ?

 

Thanks,

Murali

@muralidharan Yes, but this is the requirement and running a flow with elevated privileges owner connection permission - Run Only User

 

sgrpdl
Helper III
Helper III

@hita why don't you use parseJSON.  Run the flow, Get the sample schema from composeJSON and generate from sample...

sgrpdl_0-1663908918198.png

 

 

hita
Regular Visitor

@sgrpdl  Thanks you, and How can I deal with attachments?

Pass SP FormData and Attachment VALUE to Powerautoamte from PowerApps.

sgrpdl_1-1663908963526.png

ParseJSON for Attachment as well :), this shot might guide you. 

 

sgrpdl_2-1663909075724.png

 

there is a connector called Add Attachment, use that for adding attachment files to the SharePoint list 

sgrpdl_4-1663909943043.png

Power Apps End..

sgrpdl_5-1663911410131.png

 

--

 

 

hita
Regular Visitor

@sgrpdl ! Wow~ Perfect... Thank you!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,756)