cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Harry_G
Kudo Kingpin
Kudo Kingpin

Create File on-prem using File system

Hi,

I'm trying to create a excel file in a local system using data gateway connection. I'm using create file action of file system but unfortunately my flow did not create file which has size more than 2048 KB. i.e the file size is 4 mb, flow runs and file create in the folder is just 2048kb and flow fails with error of 504 bad gateway timeout error.

This is create file configuration.

Harry_G_0-1619089021819.png 

Harry_G_1-1619089094521.png

the error I get when file size exceed 2048 KB

{
  "error": {
    "code": 504,
    "source": "flow-apim-msmanaged-na-centralus-01.azure-apim.net",
    "clientRequestId": "67abb9cf-4e12-4e79-b258-302ee7cc0bce",
    "message": "BadGateway",
    "innerError": {
      "status": 504,
      "message": "The request to the on-premises data gateway has timed out.\r\nclientRequestId: 67abb9cf-4e12-4e79-b258-302ee7cc0bce",
      "error": {
        "message": "The request to the on-premises data gateway has timed out."
      },
      "source": "filesystem-eus2.azconn-eus2-01.p.azurewebsites.net"
    }
  }
}

 

Any Help would be appreciated.

 

Thanks,

Harry_G

1 REPLY 1
abm
Super User
Super User

Hi @Harry_G 

 

How long this process takes before it gets times out. Not sure the standard http time out is causing this.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,610)