Common Errors
Solutions to frequent issues when using WooTUI.
API Key Errors
"Invalid API key"
Problem: WooTUI won't start or fails during translation
Solutions:
- Open Settings (
s) and verify API key is entered correctly - Ensure key starts with
AIzawith no extra spaces - Check key is enabled in Google AI Studio
- Try regenerating your API key
"API key not configured"
Problem: Settings screen shows empty API key field
Solution:
- Get API key from Google AI Studio
- Paste into API Key field
- Press
Enterto save - Press
Escto return to Main Screen
See Gemini API Setup for detailed steps.
CSV Parsing Errors
"Failed to parse CSV"
Problem: WooTUI can't read your CSV file
Causes & Solutions:
Encoding Issue:
- Open CSV in text editor
- Save as UTF-8 (not ANSI or ISO-8859-1)
- Re-import to WooTUI
Wrong Delimiter:
- CSV uses semicolons
;instead of commas, - Open in Excel/Google Sheets
- Export as CSV (comma-delimited)
Corrupted File:
- Re-export from WooCommerce
- Don't edit CSV in Excel (use Google Sheets or LibreOffice)
"Missing required columns"
Problem: CSV doesn't have WPML columns
Solution:
- Verify WPML is installed and active
- Re-export ensuring "All columns" is selected
- Check export includes
Meta: _wpml_import_*columns
Translation Errors
"Translation failed"
Generic error - check specific cause:
Too Many Requests:
- You hit API rate limit (15 requests/min on free tier)
- Solution: Wait 1 minute and retry, or reduce batch size to 3-5
Model Not Found:
- Model ID is incorrect or model doesn't exist
- Solution: Open Settings, set Model ID to
gemini-2.5-pro
Token Limit Exceeded:
- Product descriptions too long for single request
- Solution: Reduce batch size to 3, or split CSV into smaller files
Network Error:
- Internet connection lost during translation
- Solution: Check connection and retry
Output File Errors
"Permission denied"
Problem: Can't save translated CSV to output directory
Solutions:
- Check output directory exists and is writable
- Change output directory to
~/Documents(Settings → Output Directory) - Run WooTUI with proper permissions (don't use
sudoon Mac/Linux)
"File already exists"
Problem: Output file is open in another program
Solution:
- Close the CSV file (Excel, Google Sheets, etc.)
- Retry translation
- Or choose different output directory
General Troubleshooting Steps
If you encounter any error:
-
Check Settings:
- API key is entered correctly
- Model ID is
gemini-2.5-proorgemini-2.5-flash - Batch size is 3-10 (not 0 or 100)
-
Verify CSV Format:
- UTF-8 encoding
- WPML columns present
- No corrupted rows
-
Test with Small Sample:
- Export 1-2 products only
- Try translating
- Isolate the problem
-
Read Error Messages:
- WooTUI shows specific error details
- Look for API error codes, file paths, column names
-
Restart WooTUI:
- Quit (
qorCtrl+C) - Relaunch
wootui - Try again
- Quit (
Getting Help
If errors persist:
- Check GitHub Issues: github.com/kkris0/wootui/issues
- Open New Issue: Include error message, CSV sample (without sensitive data), WooTUI version
- Provide Details: OS, WooCommerce version, WPML version, steps to reproduce
Next Steps
- CSV Format Issues - Fix CSV encoding and formatting
- WPML Integration - Understand WPML workflow