
Hi there,
A sudden "Bad Gateway" (HTTP 502) almost always points to a transient connector/gateway issue rather than something wrong with your flow logic. Here's how to triage it:
1. Check the connection used by the failing action
2. Repair / re-authenticate
3. Inspect the run history
status and x-ms-failure-cause tell you whether it's ClientConnectionError (transient) vs. a service-side fault. See Fix a flow that has failed.4. Add resiliency
5. If the gateway itself is the cause
*.servicebus.windows.net, and confirm the gateway version is current.If it returns intermittently and a retry policy resolves it, it's a transient service hiccup. If it's persistent on one connector only, the connection needs to be recreated.
Found this helpful? Please mark ✅ "Does this answer your question?" so others searching for the same issue can find it quickly. A 👍 on "Was this reply helpful?" or a ♥ Like is also much appreciated!
Raghav Mishra — LinkedIn | PowerAI Labs