Wednesday, 20 July 2022

PowerApps: Error code 502 - The server did not receive a response from an upstream server

Working on PowerApps project and integrating with PowerAutomate (Flow) to perform some update on SharePoint List. The PowerApps thrown error as screen shot below.


Error Code 502 - The server did not receive a response from an upstream server.

WorkFlowName.Run failed: { "error": { "code": 502, "source": "asia-001.azure-apim.net", "clientRequestId": "a1dd8bf2-cfba-465b-89d5-25c8f380a974", "message": "BadGateway", "innerError": { "error": { "code": "NoResponse", "message": "The server did not receive a response from an upstream server. Request tracking id '08585434596297091463243902025CU13'." } } } }


When check in flows's history, the status show succeeded and data is updated into SharePoint list without issue.


Tried many ways and tips from community like below:
 - Export and Import as new flows
 - Re-create the same flows
 - Change sharepoint list's column data type
 - Change data input of PowerApps flow 
 - Etc ...

There is no impact to the PowerApps functionality but Bad user experience to customer when using the PowerApps. 

Thank you to my peer Nimesh who help to resolved this issue. What he did was added return a response back to PowerApps. And that's it simple trick. 

If you are facing the same error please give it a try.



Recommended to have this as a practice to always return a response back to PowerApps in the flows.
Hope this will save your time for troubleshooting.


Thursday, 28 April 2022

Intune : Windows Autopilot White Glove Using Wireless Network

Nowadays people is preferred using Wireless network connection rather than Ethernet LAN connection.

I'm the first if you are not yet into wireless :)

During Windows Autopilot pre-provision OOBE, you can press SHIFT + F10 to open a command prompt.

Enter command below 

    start ms-availablenetworks:

Network & Internet Settings banner will prompt for you to choose which Wifi to connect.