How to Fix Microsoft Store Network Error - Resolve 502 Bad Gateway in Microsoft Store by Clearing Cache-Troubleshoot 502 Bad Gateway with Curl Commands

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.