Quick Diagnostics
Before diving into specific issues, run these quick checks:1
Check API Key
Verify your API key is valid and active
2
Check Network Connectivity
Ensure you can reach Agentflare services
3
Verify Environment Variables
Check that required environment variables are set
Common Issues & Solutions
Authentication & Authorization
401 Unauthorized Error
401 Unauthorized Error
403 Forbidden Error
403 Forbidden Error
Symptoms:
- Getting 403 errors despite valid authentication
- “Insufficient permissions” messages
- Access denied to specific resources
- Check API Key Scopes:
- Verify Project Access:
- Ensure project ID is correct
- Check you have access to the project
- Verify project is active
- Check Rate Limits:
- Review current usage vs. plan limits
- Implement exponential backoff
- Consider upgrading plan
Connection Issues
Connection Timeouts
Connection Timeouts
Symptoms:Solutions:
- Requests timing out
- “Connection timed out” errors
- Slow response times
- Check Network Latency:
- Verify Firewall/Proxy Settings:
- Increase Timeout Values:
- Configure Proxy Settings:
- Enable Connection Pooling:
SSL/TLS Certificate Errors
SSL/TLS Certificate Errors
Symptoms:
- “SSL certificate verification failed”
- “CERTIFICATE_VERIFY_FAILED” errors
- Connection refused with HTTPS
- Update Certificates:
- Configure Certificate Validation:
Tool Call Issues
Tool Calls Not Appearing in Dashboard
Tool Calls Not Appearing in Dashboard
Symptoms:Solutions:
- Tool calls execute successfully
- No data appears in Agentflare dashboard
- Missing observability data
- Check Client Configuration:
- Verify Data Flow:
- Enable Debug Mode:
- Check Sampling Rate:
- Manual Data Flush:
Tool Call Failures
Tool Call Failures
Symptoms:Solutions:
- Tool calls fail with errors
- “Tool not found” messages
- Unexpected response formats
- Test Direct Server Connection:
- Check Server Health:
- Add Error Handling:
- Validate Arguments:
Performance Issues
High Latency
High Latency
Symptoms:Solutions:
- Slow tool call responses
- High response times in dashboard
- Performance degradation over time
- Measure Components:
- Check Network Performance:
- Enable Connection Pooling:
- Optimize Batching:
- Use Regional Endpoints:
Memory Leaks
Memory Leaks
Symptoms:Solutions:
- Increasing memory usage over time
- Application becomes unresponsive
- Out of memory errors
- Monitor Memory Usage:
- Proper Client Cleanup:
- Limit Buffer Sizes:
Environment-Specific Issues
Development Environment
Local Development Setup
Local Development Setup
Common Issues:
- Environment variables not loaded
- Local MCP servers not accessible
- Development vs production configuration
- Environment Variable Management:
- Local Server Configuration:
Production Environment
Production Deployment Issues
Production Deployment Issues
Common Issues:
- Different behavior in production
- Environment variable access
- Performance under load
- Production Configuration:
- Health Checks:
Debug Tools & Commands
CLI Debugging
JavaScript/TypeScript Debugging
Python Debugging
Getting Help
If you’re still experiencing issues after trying these solutions:Check System Status
See if there are any ongoing service issues
Contact Support
Get help from our technical support team
Community Discord
Ask questions in our community Discord
GitHub Issues
Report bugs or request features
Preventive Measures
1
Monitor Health
Set up monitoring for your Agentflare integration
2
Implement Logging
Add comprehensive logging for debugging
3
Use Error Handling
Implement proper error handling and retries
4
Regular Testing
Test your integration regularly in staging
For urgent production issues, contact support at support@agentflare.com with your workspace ID and a detailed description of the problem.