Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ApiTrader
Frequent Visitor

Web.Contents bother Power Automate with Timeout

Hey all,

 

I am struggeling with a query based on a Power Automate call, triggerd by When a HTTP request is received. Although I already added the Timeout parameter to the Web.Contents, I receive a Timeout error at Power Automate after 5 minutes runtime. The error appears on the response action. Do you have any suggestions what I is missing here? 

(queryEndPoint as text) as table =>
    let
    url = WebHookTriggerUri,
    body  = "{""service"": ""httpByAzure"",""endpoint"": """&queryEndPoint&"""}",
    Parsed_JSON = Json.Document(body),
    BuildQueryString = Uri.BuildQueryString(Parsed_JSON),
    Source = Json.Document(Web.Contents(url,[Headers = [#"Content-Type"="application/json"], Content =  Text.ToBinary(body),Timeout = #duration(0,0,120,0)])),
    #"Converted to Table" = Record.ToTable(Source),
    #"Transposed Table" = Table.Transpose(#"Converted to Table"),
    #"Promoted Headers" = Table.PromoteHeaders(#"Transposed Table", [PromoteAllScalars=true]),
    #"Expanded value" = Table.ExpandListColumn(#"Promoted Headers", "value")
in
    #"Expanded value"


error on Power Automate 
The execution of template action 'Response' is failed: the client application timed out waiting for a response from service. This means that workflow took longer to respond than the alloted timeout value. The connection maintained between the client application and service will be closed and client application will get an HTTP status code 504 Gateway Timeout.

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.