Troubleshooting
This guide helps you resolve common issues with A24Z.Installation Issues
CLI Installation Fails
Problem:npm install -g a24z fails
Solutions:
Permission Denied
Permission Denied
Error: Solution 2: Configure npm prefix (Recommended)
EACCES: permission deniedSolution 1: Use sudo (macOS/Linux)Network Errors
Network Errors
Error:
ETIMEDOUT or ENOTFOUNDSolutions:- Check your internet connection
- Try a different registry:
- Use a VPN if behind a firewall
- Increase timeout:
Node Version Issues
Node Version Issues
Error:
Unsupported engineSolution: Upgrade Node.js to 18+Authentication Issues
Login Fails
Problem:a24z login doesn’t work
1
Check Internet Connection
Ensure you can reach api.a24z.ai:
2
Clear Old Configuration
Remove existing config:
3
Try Again
4
Manual Token Entry
If browser doesn’t open:
- Copy the URL from terminal
- Open in browser manually
- Complete authentication
Invalid API Key
Problem:401 Unauthorized errors
Checks:
-
Verify key is active:
- Go to app.a24z.ai/settings/api-keys
- Check if key is revoked
-
Check key format:
-
Regenerate key:
Hook Installation Issues
Hooks Not Firing
Problem: Events not appearing in dashboard Diagnosis:Hooks Not Installed
Hooks Not Installed
Solution: Install hooksVerify
~/.claude/settings.json was updated.CLI Not in PATH
CLI Not in PATH
Check:Solution: Add to PATH
Wrong Hook Configuration
Wrong Hook Configuration
Check: View Claude Code settingsSolution: Reinstall
Data Not Appearing
Problem: Using tools but no data in dashboard Wait Time: Data can take 30-60 seconds to appear. Checks:-
Check API connectivity:
-
View logs (if debug enabled):
- Test with simple command: Use a simple tool in Claude Code and wait 1 minute
-
Check dashboard filters:
- Ensure correct time range selected
- Verify organization is correct
- Clear any filters
Performance Issues
Slow Tool Execution
Problem: Tools taking longer than expected Checks:-
Network latency:
- API response time: Check dashboard for API latency metrics
- Reduce context: Smaller prompts = faster execution
- Check internet: Ensure stable connection
- Contact support: If latency > 500ms
High Token Usage
Problem: Unexpectedly high costs Solutions:-
Review sessions:
- Check dashboard for high-usage sessions
- Identify what’s consuming tokens
-
Optimize prompts:
- Remove unnecessary context
- Use file references instead of pasting code
- Clear conversation history regularly
- Set alerts: Configure budget alerts in dashboard
Dashboard Issues
Can’t Access Dashboard
Problem: Can’t log in to app.a24z.ai Solutions:-
Check credentials:
- Verify email/password
- Try password reset
-
Check organization:
- Ensure you’re invited to an organization
- Ask admin to check your access
-
Clear browser cache:
Data Not Loading
Problem: Dashboard shows no data Checks:- Time range: Adjust to include your activity
- Organization: Ensure correct org selected
- Filters: Clear all filters
- Browser: Try incognito mode or different browser
CLI Issues
Command Not Found
Problem:a24z: command not found
Solutions:
-
Verify installation:
-
Add to PATH:
-
Reinstall:
Version Mismatch
Problem: Features not working as documented Check version:Organization Issues
Can’t Switch Organizations
Problem:a24z org switch fails
Checks:
-
List organizations:
- Verify membership: Check dashboard for organization access
- Ask organization admin to invite you
- Ensure you accepted the invitation
Wrong Organization Data
Problem: Seeing another organization’s data This is a serious security issue! Action:- Immediately log out
- Clear all credentials:
- Report to [email protected]
- Log in again with
a24z login
Getting More Help
Check Status
Always start with:Enable Debug Mode
For detailed logs:Collect Diagnostic Info
Contact Support
If issues persist:- Email: [email protected]
-
Include:
- Error messages
- Steps to reproduce
- Output of
a24z status - OS and Node.js version
- Community: Slack Community
- GitHub: File an Issue
Common Error Messages
”Organization access required”
Cause: Trying to access data without organization membership Solution: Get invited to an organization or create one”Invalid API key”
Cause: Key is revoked, expired, or incorrect Solution: Runa24z login to get new key
”Rate limit exceeded”
Cause: Too many requests in short period Solution: Wait 60 seconds and retry”Tool not found”
Cause: Trying to install hooks for unsupported tool Solution: Check supported tools witha24z --help
”Failed to connect to ClickHouse”
Cause: Dashboard cannot query analytics database Solution:- Check if this is a temporary outage at status.a24z.ai
- Refresh the page
- If persists, contact [email protected]
”Session not found”
Cause: Trying to view a session that doesn’t exist or was deleted Solutions:- Verify the session ID is correct
- Check if session is within data retention period
- Ensure you have access to the organization
”Tool execution timeout”
Cause: Tool took too long to execute Solutions:- Check if the task is too complex
- Verify network connectivity
- Try breaking down the task into smaller steps
Tool-Specific Issues
Claude Code Issues
Problem: Hooks not capturing data in Claude Code Diagnosis:-
Reinstall hooks:
-
Verify CLI is accessible:
-
Check hook execution permissions:
-
Test hook manually:
Gemini CLI Issues
Problem: Gemini CLI data not appearing Solutions:- Ensure latest Gemini CLI version
- Verify environment variables are set
- Check OTLP exporter configuration
Token Tracking Issues
Problem: Token counts seem incorrect Common Causes:- Caching: Some responses are cached and don’t use tokens
- Streaming: Streaming responses may show estimates
- Model differences: Different models have different tokenization
Cost Calculation Issues
Problem: Costs don’t match expectations Checks:- Model pricing: Verify you’re using expected model
- Input vs Output: Output tokens cost more
- Time period: Ensure correct date range
- Rate changes: Model pricing can change
- View session details in dashboard
- Export cost report
- Check model pricing at provider’s website
Dashboard-Specific Issues
Metrics Not Updating
Problem: Dashboard shows stale data Solutions:-
Force refresh:
- Click refresh button
- Or press Ctrl+R (Cmd+R on Mac)
-
Clear cache:
-
Check time range:
- Ensure “Last 24 hours” or “Last 7 days” is selected
- Try “Custom range” with explicit dates
Graphs Not Loading
Problem: Blank charts or “Loading…” forever Solutions:-
Check browser console:
- Open DevTools (F12)
- Look for errors in Console tab
- Report any errors to support
-
Disable ad blockers:
- Some ad blockers interfere with analytics
- Try disabling temporarily
-
Try different browser:
- Test in Chrome, Firefox, or Safari
- Use incognito/private mode
Filters Not Working
Problem: Applying filters doesn’t change results Solutions:-
Clear all filters first:
- Click “Clear Filters” button
- Apply one filter at a time
-
Check for data:
- Ensure filtered data exists
- Try broader filters
-
Verify time range:
- Filters apply within selected time range
- Expand time range if needed
Performance Optimization
Reducing Latency
For low latency:-
Use local buffering:
-
Batch events:
- Events are batched automatically
- Adjust batch size if needed
-
Use async mode:
- All hooks are async by default
- No blocking operations
Reducing Token Usage
Strategies:-
Optimize context:
- Remove unnecessary files from context
- Use specific file references
- Clear conversation history regularly
-
Use smaller models:
- Switch to smaller models for simple tasks
- Reserve large models for complex work
-
Leverage caching:
- Repeated queries may use cached responses
- Reduces token consumption
Reducing Costs
Cost optimization:-
Monitor usage:
- Set up cost alerts
- Review top users/teams weekly
- Identify high-cost sessions
-
Budget controls:
-
Training:
- Train team on efficient prompting
- Share best practices
- Review high-cost sessions together
Network & Connectivity
Firewall Issues
Problem: Can’t connect to A24Z API Whitelist these domains:- HTTPS: 443
- WebSocket: 443
VPN Issues
Problem: A24Z doesn’t work on VPN Solutions:- Split tunnel: Configure VPN to exclude a24z.ai
- Whitelist: Add a24z.ai to VPN allowlist
- DNS: Use public DNS (8.8.8.8) to bypass VPN DNS
Slow API Response
Problem: API calls taking >2 seconds Diagnosis:- Check region: Ensure using closest region
- Network quality: Test with fast.com or speedtest.net
- Contact support: If consistently >1s, we can investigate
Data & Privacy Issues
GDPR Data Request
To request your data:-
Email [email protected] with:
- Your email address
- Organization name
- Data type requested (all data, specific sessions, etc.)
-
We’ll respond within 30 days with:
- Data export (JSON format)
- Verification of your identity
Data Deletion Request
To delete your data:- In dashboard: Settings → Privacy → Delete My Data
- Or email [email protected]
- All telemetry data
- Sessions and metrics
- User profile (if account closed)
- Deletion is permanent after 30 days
- Audit logs retained per legal requirements
Compliance Questions
For compliance inquiries:- Email: [email protected]
- Security questions: [email protected]
- Legal inquiries: [email protected]
Common Error Messages
”Organization access required”
Cause: Trying to access data without organization membership Solution: Get invited to an organization or create one”Invalid API key”
Cause: Key is revoked, expired, or incorrect Solution: Runa24z login to get new key
”Rate limit exceeded”
Cause: Too many requests in short period Solution: Wait 60 seconds and retry”Tool not found”
Cause: Trying to install hooks for unsupported tool Solution: Check supported tools witha24z --help
Preventive Measures
Regular Maintenance
Best Practices
- Keep Node.js updated
- Monitor token usage
- Review failed executions
- Keep hooks configured correctly