cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

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
Community Support

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.

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:

Match every thing with what RezaDorrani didMatch 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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (60,005)