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

Notifications

Announcements

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,484 on at

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

     

    @Pstork1 any solutions?

  • Pstork1 Profile Picture
    68,697 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
    68,697 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard