1.6 KiB
1.6 KiB
Troubleshooting Guide
Sync Errors
API Key Configuration
The app requires a valid API key to sync data from the SBA Major Domo API.
Option 1: Settings Screen (Recommended)
- Launch the app:
sba-scout - Press
xto open Settings - Enter your API key
- Click "Save Settings"
Option 2: Edit settings.yaml directly
- Edit
data/settings.yaml - Set
api.api_keyto your actual API key - Save the file
- Restart the app
Viewing Logs
All errors are now logged to data/logs/sba_scout.log instead of the terminal.
To view recent errors:
tail -f data/logs/sba_scout.log
To search for specific errors:
grep "ERROR" data/logs/sba_scout.log
Common Errors
"API key not configured"
- Your API key is missing or set to the placeholder value
- Fix: Configure your API key using one of the methods above
"Sync failed: Invalid API key" (401/403 error)
- Your API key is invalid or expired
- Fix: Get a new API key from the SBA Major Domo system
"Sync failed: API error 500"
- The API server is experiencing issues
- Fix: Wait a few minutes and try again
"Request failed: Connection timeout"
- Network connectivity issues
- Fix: Check your internet connection, or increase timeout in settings
Getting an API Key
To get an API key for the SBA Major Domo API:
- Visit the SBA Major Domo system
- Go to your account settings
- Generate a new API key
- Copy the key and paste it into the app settings
Need More Help?
Check the full logs at data/logs/sba_scout.log for detailed error messages and stack traces.