==================================== SYNC TROUBLESHOOTING GUIDE ==================================== The sync test is hanging. This usually means: 1. sync.ps1 has a placeholder token 2. sync.ps1 doesn't exist 3. PowerShell execution issues 4. Script is running but very slowly ==================================== DIAGNOSTIC SCRIPTS CREATED: ==================================== Run these in order to diagnose: 1. QUICK-TEST.bat - Fastest test (10 seconds) - Shows if sync runs at all - Good first check 2. WHICH-DEVELOPER.bat - Shows current configuration - Checks for placeholder token - Shows which developer is set 3. DEBUG-SYNC.bat - Detailed debugging - Shows exact errors - Opens debug window 4. FIX-SYNC-NOW.bat - Checks common problems - Offers immediate fixes - Tests direct execution 5. RUN-SYNC-MANUAL.bat - Runs sync with full output - Shows all messages - No hiding/background ==================================== MOST COMMON ISSUE: ==================================== The placeholder token! Check by running: WHICH-DEVELOPER.bat If it shows: $API_TOKEN = "[PASTE_THE_GENERATED_TOKEN_HERE]" Then you need to: 1. Get real token from developer setup 2. Edit sync.ps1 3. Replace placeholder with real token ==================================== QUICK FIX ATTEMPTS: ==================================== Try these commands in order: 1. Check if sync.ps1 exists: dir "%LOCALAPPDATA%\ActivityWatchSync\sync.ps1" 2. Check token: type "%LOCALAPPDATA%\ActivityWatchSync\sync.ps1" | findstr API_TOKEN 3. Manual test: cd "%LOCALAPPDATA%\ActivityWatchSync" powershell -File sync.ps1 ====================================