cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kudo Collector
Kudo Collector

Excute a SQL query bad gateway 504

Hi,

i started to see intermittent failed runs of my flows with this error:

 

{
  "error": {
    "code"504,
    "source""europe-001.azure-apim.net",
    "clientRequestId""fb18dfc3-dc5f-45dd-9684-8a2004bbf2b1",
    "message""BadGateway",
    "innerError": {
      "status"504,
      "message""A task was canceled.\r\nclientRequestId: fb18dfc3-dc5f-45dd-9684-8a2004bbf2b1",
      "source""sqlconnectionprovider-westeurope.am2-ase-001.p.azurewebsites.net"
    }
  }
}

here is the structure of my flow:

 

Screenshot (65).png

 

and here is the error inside my app:

 

 

Screenshot (66).png

 

i am not sure what's going on, please help!

 

thanks,

Mohammad

5 REPLIES 5
Anonymous
Not applicable

I am having the same, intermitant, problem. Is there any resolution?

 

{
  "error": {
    "code"504,
    "source""europe-001.azure-apim.net",
    "clientRequestId""f7440808-3186-4888-a8ef-0b0af9302ffb",
    "message""BadGateway",
    "innerError": {
      "status"504,
      "message""A task was canceled.\r\nclientRequestId: f7440808-3186-4888-a8ef-0b0af9302ffb",
      "source""sqlconnectionprovider-westeurope.am2-ase-001.p.azurewebsites.net"
    }
  }
}

 

badgateway.JPG

Community Support
Community Support

Hi @mokhawaja,

 

What is the connection in "Excute a SQL query" action connect to? Is it on line SQL Server or On-premise SQL Server?

 

If the connection in the "Excute a SQL query" action is with On-premise SQL Server is not supported in microsoft flow currently.

 

Best regards,

Alice

it is Azure SQL

Hi ,

 

Any updates on the error. We had the same 

Please check out if you need to pass any parameters in the Stored Proc and Execute in server and check.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (31,217)