How to Fix Windows Defender Setup When Version Mismatch Occurs - Resolve Windows Defender 502 Bad Gateway with These Steps-How to Resolve Windows Defender Token Expired Issue

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