cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

502 Bad Gateway while connecting from PowerApps and Flow

Hi,

 

I am getting strange issue while calling Flow from PowerApps.

 

I am not getting this error message on all machines. Only particular machines are getting this error message. I tried using 2 different machine/laptop connected to same network. On one laptop PowerApps able to connect to flow and get data but same is not properly working on other laptop. This was working fine on all machine till last week.

 

App is using Flow to interact with SQL database. I have stored procedure that is being called in Flow. While going to run history in PowerAutomate I could not find any error message and even test are running fine. 

 

I double checked all IP listed on https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/limits-and-config#ip-addresses and whitelisted them in my azure portal's sql database instance. All machine where i tested is connecting to below remote machine. Do need to whitelist this IP address? Are there any other IPs I have to whitelist ?

 

Below is other details.

Request URL: https://europe-001.azure-apim.net/invoke

HTTP Version: http/2.0

Request method: POST

Remote Address: 40.89.131.3

 

below is additional details.

 

{
  "error": {
    "code": 502,
    "source": "europe-001.azure-apim.net",
    "clientRequestId": "15351f42-04e3-429d-9ab0-2d160f5b391a",
    "message": "BadGateway",
    "innerError": {
      "error": {
        "code": "NoResponse",
        "message": "The server did not received a response from an upstream server. Request tracking id '08586002116958389265841559180CU103'."
      }
    }
  }
}

 

 

Please suggest possible fix to resolve this issue.

 

Thanks

Priyank Bhat

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,380)