Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get File Content - Error "status": 413 - The File exceeds the maximum 30 megabytes


Any work arounds for the following scenario?

  "message""The file contains 32.009 megabytes which exceeds the maximum 30 megabytes.


I'm trying to copy a file from a network drive to Sharepoint cloud, using data gateway and flows. But flow seems not to like files larger than 32 MB.


My Flow as below:







The condition is to filter out the folders








The flow fails on the step "Get File Content" for files larger than 32 MB.



Any work arounds here?




Community Support
Community Support

Hi @Anonymous,


Currently, the max limitation of message size of Microsoft Flow is 100 MB, pending support by individual connectors/systems. Say if the service that Flow connects to only supports 5 MB, then that is the maximum limit for that service. However, Flow itself imposes the 100 MB limit, so even if the service supports 1 TB, only a 100 MB message/file can be used.

About the error message you mentioned, it seems that only files that less than 30 MB can be used. I made some research and I found that the error occurs due to limitations of your target IIS Server.

Please take the following blog for a reference:


Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello, @Anonymous!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager

Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (53,105)