Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Something broken with Create File Action - Status 400 / Bad Request / Bad Gateway

We have noticed that since Wednesday all our flows are starting to fail which have utilized the "Create File" Connector. 

They have been running fine over the last 6+ month and are now failing with a "Error in the application" error / Bad Request. 

We have also tested it with creating a new sample flow just for this case and it has the same error message: 



Anyone know if microsoft has done some updates to the sharepoint actions that may have broken this?





Solution Sage
Solution Sage

Hi @solstice ,


Just tried and was able to create the file successfully but I guess it could be region specific.




I know you said you created another flow but have you tried another library?


Can you also share what parameters are passed int the Create File action?


If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Connect on LinkedIn

Hi Eric, 

I have tried different libraries, different site collection even and as well different "Flow Environment", with the same outcome. 

As per parameters, it is very basic for this test as well: 


The Create File "File Content" comes from a valid file in "Get file Content".


The settings on the Action (default):







Advocate I
Advocate I

I am having the same issue, it's started happening from yesterday (9/25/21) and my location is US East.

Frequent Visitor

I am also having the same issue. It was first noticed today (9/27/2021). My location is also eastern US.

Frequent Visitor

I have the same issue, it seems to only happen when you create file in a document set

I do not have Document Sets enabled and I still have the error.

Advocate I
Advocate I

After working tirelessly with some support staff at microsoft, check if your create file action is set to allow chunking or not. If so, try disable chunking and try again. 

That worked. Thank you for sharing that.

@solstice : That worked. 


Everyone,   FYI, in my case the file was created successfully and still the flow failed with 400  error. I would assume you all had the same issue. It looks like some release behind the scenes created this issue,  not sure what exactly caused it.

Yes. The file was created but the flow failed.

Regular Visitor

I'm still having the create file issue resulting to a corrupted file even after turning of the chunking: 


Is there another fix? Also tried the Base64tobinary but it has flow null error


Appreciate any help,



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (3,021)