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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,839)