# Telemetry Troubleshooting
Version: 1.1.1
Last Updated: January 23, 2026
Common Issues
- No telemetry file created: Mode is
offor command not run from BranchPyApp; runbranchpy telemetry mode --showand retryexport. - Upload blocked (auth): Missing API key/token; set
telemetry.auth_tokenor provide API key header for rc-backend. Use--dry-runto verify package before retrying. - Schema validation failed: Package contains raw paths/content; ensure plugins/extensions are updated and rerun
export. Validation prevents upload until sanitized. - Size exceeds cap: Reduce time range (
--from 1h) or bumptelemetry.max_upload_size_mb. Large caches can be sampled viaBRANCHPY_TELEMETRY_CACHE_SAMPLING_RATE. - Unicode errors: v1.1.1 is Unicode-hardened; if errors persist, confirm environment encoding is UTF-8 and rerun after clearing
.branchpy/telemetry/*.jsonl. - Extension not logging: Ensure
branchpy.telemetry.enabledis true and privacy level notminimalfor detailed events. Check globalStorage path exists and not locked by AV. - Auto mode silent: Auto uploads only in
automode; confirm interval and check last-upload status in Control Center.
Verification Steps
- Run
branchpy telemetry preview --jsonto inspect sanitized payload. - Open
rc-metrics.jsonto verify no paths or content before upload. - Hit
GET /api/telemetry/healthto confirm backend is reachable. - Query
GET /api/telemetry/statsafter upload to confirm ingestion.
Support Artifacts
- Logs:
.branchpy/logs/telemetry*.log(if enabled), VS Code Control Center notification history. - Schema:
BranchPyApp/branchpy/telemetry/package_schema.py(source of validation).