How to Fix Task Scheduler 504 Gateway Timeout Error - Windows 11 Microsoft Store 502 Error Troubleshooting-Clear Stuck OneDrive Sync Queue

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