cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
carem
Level: Powered On

Can't create file in Sharepoint Library throught Power Apps and Flow

@RezaDorrani ,
I follow your instruction on Youtube, in the Topic "Upload and tag multiple files from PowerApps to SharePoint Document Library"

But I don't succeed on the "Apply to Each" Step in Flow. It reports an error as follows:

Screen Shot 2019-11-27 at 10.27.07 AM.png

 How can I resolve this issue? Please guide me.

2 REPLIES 2
Community Support Team
Community Support Team

Re: Can't create file in Sharepoint Library throught Power Apps and Flow

Hi @carem ,

Firstly, based on your description, I think this is a Flow issue.

I more suggest you post your issue on flow forum.

link: https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/FlowCommunity

Could you tell me how many items in your file?

When you are using the Free Version of MS Flow you are limited to 5,000 items in a loop

So if your items number is too large, you will meet this error.

Please note this limit:https://docs.microsoft.com/en-us/power-automate/limits-and-config

1128.PNG

To solve this problem ,I suggest you try:

grab the 'first 4999 items' from the array, which does work with an expression like this:  take(variable('array')?['applist']?['apps'],4999)
 
Here's a doc about this for your reference:
 
 
 
Best regards,
Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
carem
Level: Powered On

Re: Can't create file in Sharepoint Library throught Power Apps and Flow

I have only a few things (5-6 items) in the Gallery in PowerApp that need to upload for once time.

Here is my Flow:

Screen Shot 2019-12-01 at 6.39.23 PM.pngMatch every thing with what RezaDorrani did

 

When Flow Run and Get Error:

Screen Shot 2019-12-01 at 6.47.13 PM.png

 

Here my start in PowerApp with the Save Button call that Flow:

Screen Shot 2019-12-01 at 6.48.49 PM.png

 

If you have any other advice, please share it with me. Thanks to @v-yutliu-msft .

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,621)