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

Flow failed during create file action.

Hi,

 

On create action the flow fails and throws this error "The response to partial content upload request was not valid. The returned range header value 'bytes=0-101288' is not in the expected range of '0-99225' with unit set to 'bytes'"

 

But i can see the file is already created and are working as expected.

 

 

 
 
 
 

 

5 REPLIES 5
Highlighted
Frequent Visitor

Re: Flow failed during create file action.

I have same issue

POWERAUTOMATE.png

 

my code

 

POWERAUTOMATE_2.png

Highlighted
Regular Visitor

Re: Flow failed during create file action.

I'm a very, very beginner user of Power Automate and any other programing tool.

However, the work around for me was to set the "configure run after" as below.

Not elegant, but worked.

Despite the error, the file is properly copied.

The end result of my flow sends an email with an attachment.

The attachment is readable after the email is received.

I have also included a copy to a folder inside the SharePoint, and it is working good.

Really a strange error, but works.

 

Antonio_P_0-1593143598415.png

 

Highlighted
Super User
Super User

Re: Flow failed during create file action.

Can you please go to the Settings of the Create Item and See if "Allow Chunking" is on?

Usually the header range allows the size of the message (not just the file) that is coming through the HTTP request and if the incoming request is big it will through the header range error.
Highlighted
Frequent Visitor

Re: Flow failed during create file action.

Hello @Rahber  

If a switch "Allow chunking" OFF, the flow works fine

this solves my problem i hope it will be the same for @kannan1  

 

POWERAUTOMATE_3.png

 

 

Highlighted
Super User
Super User

Re: Flow failed during create file action.

Hi @ JGollut

I am glad it solved your problem. Please mark the post as correct solution or upvote it so other people can find it.

Here is the detailed explanation: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-handle-large-messages

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (4,328)