zhizhu
Home / office-tools / Fix PowerShell 504 Gateway Timeout When Calling REST API - Access Denied When Clearing Cache in Command Prompt-Resolve OneDrive Sync Issues Caused by DNS

Fix PowerShell 504 Gateway Timeout When Calling REST API - Access Denied When Clearing Cache in Command Prompt-Resolve OneDrive Sync Issues Caused by DNS

2026-06-14 01:08:09office-tools
Fix PowerShell 504 Gateway Timeout When Calling REST API - Access Denied When Clearing Cache in Command Prompt-Resolve OneDrive Sync Issues Caused by DNS

Final checklist

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