cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Invalid Template for creating file with JSON trick

Hi,

 

I am trying to upload images from a Power App collection to a Share Point library, following the steps explained in Reza Dorrani's video: https://www.youtube.com/watch?v=5XsWgVnR7SU.

 

The "Add picture" button collects the file and populates the collection. Then the button "Post to TestinImaeLibrary" triggers a flow.

 

My screen:

ScreenShotPowerApp.png

The flow:

Flow for multiple file uploadingFlow for multiple file uploading

 

 

I get an error at the last stage of the flow displaying the following message.

 

ScreenError.png

 

- Could anybody throw some light on the subject?

- Do you know of a better way to upload images? This way is fine, but the user needs to select "all file types" every time they wwant to uploada file (due to the "Add Picture" button

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hey @Anonymous 

 

This is a known issue with flow and powerapps. You need to remove the flow from powerapps control (button) and then add it again over there for it to work. 

 

This usually happens when you add an action to flow after registering the flow to the powerapps control. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
SamPo
Impactful Individual
Impactful Individual

@Anonymous Looks like a known bug.

 

Try creating a copy of your flow using the 'save as' button then run it without making any changes.

Let me know if this helps.

 

Sam

yashag2255
Dual Super User II
Dual Super User II

Hey @Anonymous 

 

This is a known issue with flow and powerapps. You need to remove the flow from powerapps control (button) and then add it again over there for it to work. 

 

This usually happens when you add an action to flow after registering the flow to the powerapps control. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

v-bacao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please check this article and get more about this issue:

https://support.microsoft.com/en-us/help/4477072/best-practices-updating-a-flow-used-by-a-powerapp

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,570)