OneDrive Sync Issues Checklist and Solutions - OneDrive Sync Error 0x80004005: How to Fix-Outlook 504 Gateway Timeout: Troubleshooting Checklist

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