Video Generation Troubleshooting
Diagnose and fix video generation issues.
Check Video Status
- Go to Videos in your dashboard
- Find the affected video
- Check the status and any error messages
Video Statuses
| Status | Description | Action |
|---|---|---|
pending | Queued for generation | Wait for processing |
processing | Currently generating | Wait 2-5 minutes |
completed | Ready and delivered | No action needed |
failed | Generation failed | See error details |
Common Failure Reasons
Missing Avatar
Error: “User does not have a configured avatar”
Fix:
- Go to Settings > Profile
- Connect your HeyGen account
- Select or create an avatar
Invalid Script Variables
Error: “Script contains invalid variable: {{unknown_field}}”
Fix:
- Edit the campaign script
- Remove or replace invalid variables
- Use only supported variables
Script Too Long
Error: “Script exceeds maximum length”
Limits:
- Maximum: 500 words
- Recommended: Under 250 words
Fix: Shorten your script.
HeyGen Service Error
Error: “External video service unavailable”
Fix:
- Check HeyGen Status
- Wait for service recovery
- Videos will auto-retry
Video Quality Issues
Audio Sync Problems
Cause: Complex pronunciation or unusual names.
Fix:
- Use phonetic spelling in scripts
- Add pronunciation hints:
John (pronounced "Jon") - Simplify complex terms
Visual Artifacts
Cause: Avatar rendering issues.
Fix:
- Try regenerating the video
- Use a different avatar
- Contact support if persistent
Wrong Language
Cause: Avatar/voice mismatch.
Fix:
- Check avatar language setting
- Ensure script matches avatar language
- Use appropriate voice model
Regenerating Videos
To regenerate a failed video:
- Go to Videos
- Find the failed video
- Click Regenerate
Or via API:
curl -X POST https://api.leadwarmer.net/api/v1/videos/{id}/regenerate \
-H "Authorization: Bearer {token}"Performance Optimization
Reduce Generation Time
- Shorter scripts - Under 150 words
- Simple variables - Avoid complex custom fields
- Off-peak hours - Less queue congestion
Batch Processing
For high volume, videos are processed in batches:
- Batch size: 10 videos
- Batch interval: 1 minute
- Priority queue available for Enterprise
Monitoring Video Generation
Dashboard Metrics
View in Analytics > Video Generation:
- Generation success rate
- Average generation time
- Failure reasons breakdown
Webhook Notifications
Configure callbacks for video status:
{
"video_status_webhook": "https://your-app.com/webhook",
"notify_on": ["completed", "failed"]
}Error Codes Reference
| Code | Description | Resolution |
|---|---|---|
VG001 | Avatar not found | Configure avatar |
VG002 | Script parsing error | Fix script syntax |
VG003 | Variable not found | Check lead data |
VG004 | Service timeout | Retry later |
VG005 | Rate limit exceeded | Wait and retry |
VG006 | Invalid audio | Check script content |
Getting Help
For persistent issues:
- Note the video ID and error code
- Screenshot the error message
- Contact support@leadwarmer.net