Troubleshooting
Solutions to common issues with VOISA AI agents
Troubleshooting Guide - Common Issues & Solutions
This comprehensive guide helps you diagnose and resolve common issues with VOISA AI agents.
🚨 Quick Diagnostics
System Health Check
Before troubleshooting, verify system status:
- Platform Status: Check status.voisa.ai
- API Status: Test with
GET /api/verify - Agent Status: Verify agent is "Active" in dashboard
- Network: Check internet connectivity
- Browser: Use Chrome, Firefox, Safari, or Edge (latest versions)
🔴 Critical Issues
Agent Not Responding
Symptoms:
- No response to calls
- Widget shows "offline"
- Test calls fail
Quick Fix:
1. Check agent status → Must be "Active"
2. Verify API key → Not expired
3. Test in Chat mode → Isolate voice issues
4. Check knowledge base → Not empty
Detailed Solutions:
Solution 1: Reactivate Agent
1. Go to Agents tab
2. Select affected agent
3. Toggle status to "Inactive"
4. Wait 5 seconds
5. Toggle back to "Active"
6. Test again
Solution 2: Check Configuration
1. Open agent settings
2. Verify:
- System prompt exists
- Model is selected
- Voice is configured
- First message is set
3. Save and test
Solution 3: API Key Issues
1. Go to API Keys
2. Check expiration date
3. Verify permissions include "agent:read"
4. Generate new key if needed
5. Update in your integration
Calls Dropping Immediately
Symptoms:
- Call connects then drops
- No greeting heard
- Immediate disconnection
Common Causes & Fixes:
Cause 1: Invalid Phone Configuration
Fix:
1. Check Numbers tab
2. Verify number is active
3. Ensure assigned to correct agent
4. Test with different number
Cause 2: Voice Provider Issue
Fix:
1. Test voice in Voice tab
2. Select different voice
3. Reset voice settings to defaults:
- Stability: 0.75
- Speed: 1.0
4. Contact support if persists
Cause 3: Timeout Settings
Fix:
1. Check "End call on silence" setting
2. Set to -1 (never) for testing
3. Gradually adjust to find optimal value
🟡 Performance Issues
Slow Response Times
Symptoms:
- Long pauses before responses
- Delayed reactions
- Timeout errors
Optimization Steps:
Step 1: Model Selection
Current Models by Speed:
1. Gemini 2.5 Flash Lite (400-500ms) - Fastest
2. Gemini 2.5 Flash (500-700ms) - Fast
3. GPT-4o (1-2s) - Balanced
4. Claude 4 Sonnet (1-3s) - Advanced
Step 2: Knowledge Base Optimization
1. Remove unnecessary content
2. Structure information clearly
3. Use categories effectively
4. Limit to essential information
5. Update indexing:
- Delete and re-add content
Step 3: Prompt Optimization
Before:
"You are an assistant who helps customers with various
queries about our services, products, pricing, and can
also help them with booking appointments..."
After:
"You are a booking assistant for [Business].
Main tasks: 1) Answer service questions 2) Book appointments.
Be concise and direct."
Step 4: Turn Detection Tuning
Reduce timeout gradually:
- Start: 7 seconds
- Test: 5 seconds
- Optimal: 3-5 seconds for most cases
High Latency in Responses
Symptoms:
- Noticeable delay
- Stuttering responses
- Inconsistent timing
Solutions:
Network Optimization:
1. Check your internet speed (min 10 Mbps)
2. Use wired connection if possible
3. Close bandwidth-heavy applications
4. Test from different network
Regional Considerations:
1. Select closest model region
2. Use CDN-enabled content
3. Consider edge deployment
🟠 Conversation Quality Issues
Agent Doesn't Understand Queries
Symptoms:
- Irrelevant responses
- Repeated "I don't understand"
- Missing information
Diagnostic Process:
Step 1: Review Transcripts
1. Go to Conversations tab
2. Filter failed conversations
3. Identify patterns in misunderstandings
4. Note specific phrases causing issues
Step 2: Knowledge Base Audit
Check for:
- Missing information
- Outdated content
- Conflicting data
- Unclear formatting
Step 3: Prompt Enhancement
Add specific instructions:
"IMPORTANT CONTEXT:
- Our business name is [Name]
- We specialize in [Services]
- Common questions include [List]
When unsure, ask for clarification rather than guessing."
Step 4: Add Examples
Include in system prompt:
"Example conversations:
Customer: 'Do you have tables available?'
You: 'I'd be happy to check availability.
For what date and time?'
Customer: 'What's your specialty?'
You: 'Our specialty is [specific dish/service].
Would you like to know more about it?'"
Unnatural Conversation Flow
Symptoms:
- Robotic responses
- Awkward phrasing
- Poor timing
Improvements:
Voice Settings:
Natural Settings:
- Stability: 0.65-0.75 (not too high)
- Similarity: 0.70-0.80
- Speed: 0.95-1.05
- Speaker Boost: Off for natural sound
Conversation Settings:
Temperature Adjustments:
- Too rigid (0.0-0.2): Increase to 0.4-0.6
- Too random (0.8-1.0): Decrease to 0.5-0.7
- Optimal range: 0.4-0.6 for most cases
Prompt Improvements:
Add personality instructions:
"CONVERSATION STYLE:
- Use natural, conversational language
- Include appropriate fillers ('um', 'let me check')
- Vary your responses
- Show empathy and understanding
- Use the customer's name when known"
Agent Interrupts Customers
Symptoms:
- Cuts off mid-sentence
- Responds too quickly
- Misses information
Solutions:
Adjust Turn Detection:
1. Increase turn timeout:
- Current: 3 seconds → Try: 5-7 seconds
2. Change detection mode:
- Switch from "Silence" to "Server VAD"
3. Test with various speakers
Add Instructions:
"IMPORTANT: Let customers finish speaking completely.
Wait for a natural pause before responding.
If unsure whether they're finished, wait an extra moment."
🔵 Integration Issues
Widget Not Working
Symptoms:
- Widget doesn't appear
- No response when clicked
- JavaScript errors
Debugging Steps:
Step 1: Console Check
// Open browser console (F12)
// Look for errors like:
// - CORS errors
// - 404 not found
// - Authentication failures
Step 2: Verify Installation
<!-- Correct placement (before </body>) -->
<script>
window.voisaConfig = {
agentId: 'agt_YOUR_ID',
position: 'bottom-right'
};
</script>
<script src="https://cdn.voisa.ai/widget.js"></script>
</body>
Step 3: Domain Whitelist
1. Go to Agent Settings
2. Add your domain to "Allowed Hosts"
3. Include variations:
- https://yourdomain.com
- https://www.yourdomain.com
- http://localhost:3000 (for testing)
API Authentication Failures
Symptoms:
- 401 Unauthorized errors
- 403 Forbidden responses
- "Invalid API key" messages
Resolution:
Verify API Key:
curl -X GET https://api.voisa.ai/v1/api/verify \
-H "Authorization: Bearer YOUR_API_KEY"
Common Issues:
1. Expired key → Generate new one
2. Wrong environment → Check production vs staging
3. Missing "Bearer" prefix → Include in header
4. Incorrect permissions → Update key permissions
MCP Tools Not Working
Symptoms:
- Tools not appearing
- Execution failures
- Timeout errors
Troubleshooting:
Step 1: Test MCP Server
1. Go to MCP Tools
2. Click on server
3. Use "Test Connection"
4. Check response
Step 2: Verify Tool Assignment
1. Edit agent
2. Go to Tools section
3. Ensure tools are checked
4. Save agent
Step 3: Check Permissions
Review tool configuration:
{
"permissions": {
"execute": true,
"max_executions": 10
}
}
🟣 Audio & Voice Issues
Poor Audio Quality
Symptoms:
- Crackling sounds
- Low volume
- Distorted voice
Solutions:
Voice Selection:
1. Test different voices
2. Use "Professional" tier voices
3. Enable Speaker Boost for clarity
Network Quality:
Requirements:
- Bandwidth: 128 kbps minimum
- Latency: < 150ms
- Packet loss: < 1%
Voice Not Matching Selection
Symptoms:
- Different voice than selected
- Default voice playing
- Inconsistent voice
Fix:
1. Clear voice cache:
- Save agent without voice
- Re-select voice
- Save again
2. Verify voice ID in API response
3. Check voice provider status
⚫ Data & Privacy Issues
Conversations Not Recording
Symptoms:
- Empty conversation list
- No transcripts available
- Missing analytics
Check Settings:
1. Privacy Settings:
- Zero Retention Mode: Must be OFF
- Delete Transcripts: Must be OFF
2. Retention Days: > 0
3. Storage quota not exceeded
GDPR Compliance Issues
Symptoms:
- Data retention concerns
- Deletion requests
- Access requests
Compliance Steps:
1. Enable Privacy Mode:
- Set retention to 7-30 days
- Enable auto-deletion
- Disable audio storage
2. Data Export:
- Use API endpoint: GET /api/export/user/{id}
- Provide within 30 days
3. Right to Deletion:
- API: DELETE /api/user/data/{id}
- Confirm deletion in 72 hours
🛠️ Advanced Debugging
Enable Debug Mode
For Widget:
window.voisaConfig = {
agentId: 'agt_YOUR_ID',
debug: true,
logLevel: 'verbose'
};
For API Calls:
curl -X GET https://api.voisa.ai/v1/api/agents/list \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Debug-Mode: true"
Collect Diagnostic Information
System Information Script:
// Run in browser console
const diagnostics = {
browser: navigator.userAgent,
connection: navigator.connection,
memory: performance.memory,
timing: performance.timing,
errors: window.__voisaErrors || []
};
console.log(JSON.stringify(diagnostics, null, 2));
Performance Profiling
Measure Response Times:
// Add to system prompt for testing
"DEBUG: Log timestamp before and after processing.
Example: [START: 10:30:45.123] Processing query...
[END: 10:30:46.789] Response ready."
📋 Issue Escalation
When to Contact Support
Contact support if:
- Issue persists after troubleshooting
- Platform error messages appear
- Data loss or corruption
- Security concerns
- Billing problems
Information to Provide
1. Account ID: acc_xxxxx
2. Agent ID: agt_xxxxx
3. Timestamp of issue: 2025-01-15 10:30 UTC
4. Error messages (exact text)
5. Steps to reproduce
6. Screenshots/recordings
7. Browser console logs
8. Network traces (if applicable)
Support Channels
Priority Levels:
- 🔴 Critical (System down): urgent@voisa.ai
- 🟡 High (Major feature broken): support@voisa.ai
- 🟢 Normal (Questions): help@voisa.ai
- 🔵 Feature Requests: feedback@voisa.ai
Response Times:
- Critical: 1 hour
- High: 4 hours
- Normal: 24 hours
- Feature Requests: 72 hours
🔄 Preventive Measures
Regular Maintenance
Daily:
- Monitor error rates
- Check conversation success rate
- Review failed calls
Weekly:
- Update knowledge base
- Review analytics
- Test critical flows
Monthly:
- Full system test
- Performance audit
- Security review
- Backup configurations
Monitoring Setup
Set Up Alerts:
1. Go to Settings → Notifications
2. Configure alerts for:
- Error rate > 10%
- Response time > 3s
- Failed calls > 5/hour
- API errors
Health Checks:
# Automated health check script
#!/bin/bash
curl -X GET https://api.voisa.ai/v1/api/verify \
-H "Authorization: Bearer $API_KEY" \
--fail --silent --show-error
📚 Additional Resources
Documentation
Tools
Community
Remember: Most issues have simple solutions. Start with basic checks before diving deep! 🎯