# Error Codes

> Reference guide for error codes

Source: https://edesy.in/docs/voice-agent/troubleshooting/error-codes

Reference guide for error codes and their meanings.

## Call Errors

| Code | Message | Solution |
|------|---------|----------|
| `CALL_001` | Invalid phone number | Use E.164 format (+91...) |
| `CALL_002` | Agent not found | Check agent ID |
| `CALL_003` | Agent inactive | Activate agent |
| `CALL_004` | No route | Check telephony config |
| `CALL_005` | Insufficient credits | Add credits |
| `CALL_006` | Rate limited | Wait and retry |
| `CALL_007` | Provider error | Check provider status |
| `CALL_008` | DND number | Number on Do Not Disturb |

## Authentication Errors

| Code | Message | Solution |
|------|---------|----------|
| `AUTH_001` | Invalid API key | Check key is correct |
| `AUTH_002` | Expired API key | Generate new key |
| `AUTH_003` | Insufficient permissions | Check key permissions |
| `AUTH_004` | Workspace not found | Check workspace ID |

## Provider Errors

| Code | Message | Solution |
|------|---------|----------|
| `PROV_001` | STT provider error | Check STT API key |
| `PROV_002` | TTS provider error | Check TTS API key |
| `PROV_003` | LLM provider error | Check LLM API key |
| `PROV_004` | Provider timeout | Retry or switch provider |
| `PROV_005` | Rate limit exceeded | Wait or upgrade |

## Knowledge Base Errors

| Code | Message | Solution |
|------|---------|----------|
| `KB_001` | Document too large | Split document |
| `KB_002` | Unsupported format | Use PDF/TXT/DOCX |
| `KB_003` | Processing failed | Check document quality |
| `KB_004` | KB not found | Check KB ID |

## Campaign Errors

| Code | Message | Solution |
|------|---------|----------|
| `CAMP_001` | Invalid CSV | Check CSV format |
| `CAMP_002` | No valid numbers | Check phone numbers |
| `CAMP_003` | Agent unavailable | Activate agent |
| `CAMP_004` | Schedule conflict | Check time window |

## Getting Help

If you encounter an error not listed here:

1. Note the full error code and message
2. Check Call History for details
3. Contact support with:
   - Error code
   - Timestamp
   - Steps to reproduce
   - Call SID (if applicable)

## Support Channels

- **Email**: Contact support through the dashboard
- **Dashboard**: Support page for tickets
