Checklist for Debugging 502 Bad Gateway in Command Prompt - Troubleshoot PowerShell Token Expiration and Auto Refresh-Fixing Windows Terminal Sync Settings Not Working

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.