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

Get File content - OUTPUT too long - then Create file fails with error "MaxRequestCountReached"

Hi,

 

I have a flow that collects the attachments from one Sharepoint list and move it to another List.

The file is usually a Word Doc (size 500KB approx)

 

The flow gets the file content and create a new file on a Sharepoint folder.

This seems to work, I can see and open the new file from the folder but the process takes 2 hours and on this step, fails with this error:

 

MaxRequestCountReached. The maximum number of requests allowed '1000' was not sufficient to upload the entire content. Uploaded content length: '537130'. Total content length: '537594'.

 

Create file fails.JPG

 

It doesn't always fail. When it does, I notice that the outputs from "Get file content IKEv2" is bigger.

 

Any workarounds please?

 

Many thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Get File content - OUTPUT too long - then Create file fails with error "MaxRequestCountReached"

Hi there,

I think I found a workaround. You need to convert the content from "Get file content" from base64 to binary.

Do this in a Compose before you create the new file and use the Compose outputs as the file content:

 

base64ToBinary(body('Get_file_content_2')?['$content'])
 
convert to binary.png
 
Regards

View solution in original post

1 REPLY 1
Highlighted
Frequent Visitor

Re: Get File content - OUTPUT too long - then Create file fails with error "MaxRequestCountReached"

Hi there,

I think I found a workaround. You need to convert the content from "Get file content" from base64 to binary.

Do this in a Compose before you create the new file and use the Compose outputs as the file content:

 

base64ToBinary(body('Get_file_content_2')?['$content'])
 
convert to binary.png
 
Regards

View solution in original post

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (3,281)