web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting 504 exception ...
Power Automate
Unanswered

Getting 504 exception in Send an HTTP request to. Sharepoint.

(0) ShareShare
ReportReport
Posted on by 86

Hi all, 

I am facing a very random of 504 gateway timeout error in Send an HTTP request to SharePoint.

Basically the action is for creating a subsite in Shatepoint site.

We successfully  ran 100+ flows having this action

But now this error comes up and comes in a specific time like its ran suceessfully in the morning to evening then floes failed in night and then its again working fine in the midnight in my timezone UTC +5.

Then after investigating I set the retry policy to default to if the timeout error occurred it will get the response, but gives no fruitfull result. 

When i am facing the 504 exception my subsite is created but the response of the newly subsite is not getting from server and its gives me gateway timeout.

Can anyone help me to solve this problem?? 

Categories:
I have the same question (0)
  • JaweriaSaleem Profile Picture
    86 on at

    @MarconettiMarco @Expiscornovus @Sundeep_Malik @RezaDorrani 

  • Sundeep_Malik Profile Picture
    6,495 on at

    @JaweriaSaleem No idea. So can't give you any advice.

     

    @Pstork1 any solutions?

  • Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    I don't know of any solution for this in this scenario.  The issue is one of timing.  The call to create the subsite is timing out before the server finishes building the site. Its intermittent because the timing is dependent on the current load on the servers in the cloud. My only suggestion would be to decrease the amount being done in the one call.  For example, have a call to create the basic subsite and then another call to apply any customizations.

  • JaweriaSaleem Profile Picture
    86 on at

    @Pstork1 thanks for your suggestion.

    I am creating the subsite from a custom template this creating an issue?

  • JaweriaSaleem Profile Picture
    86 on at

    @Pstork1  can you please can I apply the custom template after the subsite has been created?

    from power automate 

    The Custom template creates from the Save site as a template.

     

  • Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    I don't know whether it can be applied later or not.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard