Showing results for 
Search instead for 
Did you mean: 
New Member

Problem with When a file is created or modified (properties only) - Sharepoint Online

Hi.  I'm making a flow with "When a File is created or modified (properties only)" to detect a file modification on specific file in specific sharepoint folder and send an e-mail notification.  I made a test with small dummy file (a few Kb), and all works well, but when I changed filename to real file that has 150 Mb, flow doesn't work.  Later, a message appeared on execution control, telling me that trigger event failed, and ask me to correct it.  On execution details of event, appears error 504 - Bad gateway.


Anyone knows what could be wrong? any advise?

Community Support
Community Support

Re: Problem with When a file is created or modified (properties only) - Sharepoint Online


Hi @lfalonso ,


It is worth noting that the maximum size of files that can be manipulated in Power Automate at present seems to be 50mb. Have you tested any files with a file size less than 50m?


If file size smaller than 50M can make Flow run normally, I think the problem you encountered should be related to the size of the file.

If you modify a file with a file size larger than 50m, such errors may occur.


In addition, recreating a new connection is also a useful method to solve this kind of problem. Please take a try


Best Regards,

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

Re: Problem with When a file is created or modified (properties only) - Sharepoint Online

Well, it's been happening for at least 3 weeks in a row for me - and creating a new SharePoint connection doesn't work! Every week I'm having to go in, fiddle with connections, and then it will suddenly work again 😞


I personally have full access permissions (I'm the admin!) and it keeps coming back to me with a 502 error. 😞


502 error502 errorNo amount of new connections will workNo amount of new connections will work

Helpful resources


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

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

Users online (4,781)