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.
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.
Recommended to have this as a practice to always return a response back to PowerApps in the flows.
This post first appeared on Ben's System Center Experience. Read the original article.