Overview
This guide helps you diagnose and resolve common issues with the Vaile chat widget. Follow these troubleshooting steps to get your widget working perfectly.Widget Not Appearing
Initial Checks
Check Widget Key
Ensure your widget key is correct:
- No quotes around the key
- Correct format:
wk_xxxxxxxxxxxxx - No extra spaces
Browser Console
Open Developer Tools (F12) and check for errors:
- Red error messages
- 404 (file not found)
- Authentication errors
Common Causes
Script Placement Issues
Script Placement Issues
Problem: Script in wrong locationSolution: Place script just before
</body> tag, not in <head>JavaScript Errors
JavaScript Errors
Problem: Other scripts causing conflictsSolutions:
- Check console for JavaScript errors
- Try on a test page with no other scripts
- Ensure jQuery conflicts are resolved
- Update conflicting libraries
Ad Blockers
Ad Blockers
Problem: Browser extensions blocking widgetSolutions:
- Temporarily disable ad blockers
- Whitelist your domain
- Test in incognito mode
- Check corporate firewall rules
CSS Conflicts
CSS Conflicts
Problem: Styles hiding the widgetSolutions:
- Check for
display: noneon body - Look for high z-index elements
- Inspect widget container element
- Remove conflicting CSS
Widget Appears But Doesn’t Work
Functionality Issues
- Can't Send Messages
- No AI Responses
- Widget Freezes
Symptoms:
- Type message but can’t send
- Send button doesn’t work
- Messages disappear
- Check internet connection
- Verify widget key permissions
- Clear browser cache
- Check for console errors
- Test in different browser
Display Issues
Visual Problems
Wrong Position
Problem: Widget in wrong spotFix: Check for CSS conflicts
Cut Off Text
Problem: Messages truncatedFix: Viewport settings
Style Conflicts
Common CSS conflicts and fixes:Performance Issues
Slow Loading
High Memory Usage
Signs and solutions:Memory Leaks
Memory Leaks
Symptoms: Page slows over timeSolutions:
- Update to latest widget version
- Clear chat history periodically
- Refresh page after long sessions
- Check for console errors
CPU Usage
CPU Usage
Symptoms: Fan noise, lagSolutions:
- Disable animations
- Reduce polling frequency
- Close unused tabs
- Update graphics drivers
Mobile-Specific Issues
Common Mobile Problems
- Not Responsive
- Keyboard Issues
- Can't Close
Issue: Widget doesn’t adapt to mobileFixes:
- Add viewport meta tag
- Check responsive breakpoints
- Test orientation changes
- Verify touch events work
Browser-Specific Issues
Compatibility Problems
Integration Issues
CMS-Specific Problems
WordPress
WordPress
Common Issues:
- Plugin conflicts
- Theme overrides
- Cache problems
- Use Code Snippets plugin
- Clear all caches
- Check theme footer.php
- Disable plugins one by one
Shopify
Shopify
Common Issues:
- Checkout page conflicts
- Theme updates removing code
- App conflicts
- Use theme.liquid file
- Create backup of changes
- Test all page types
- Check app compatibility
Wix
Wix
Common Issues:
- Editor preview differs
- Mobile view problems
- Custom code limits
- Publish to see changes
- Use Wix dashboard
- Check mobile editor
- Upgrade plan if needed
Error Messages
Common Errors and Fixes
- 404 Not Found
- 500 Server Error
- CORS Error
Debug Mode
Enable Detailed Logging
Add debug parameter to widget:- Detailed console logs
- Network request info
- Error stack traces
- Performance metrics
Only use debug mode during troubleshooting, not in production
Getting Help
Before Contacting Support
Information to Provide
When contacting support, include:- Widget key (first 8 characters)
- Website URL where issue occurs
- Browser and version
- Device type (desktop/mobile)
- Error messages (screenshots)
- Steps to reproduce
- What you’ve tried
Support Channels
Email Support
[email protected]
- 24-48 hour response
- Detailed assistance
- File attachments
Dashboard Chat
Live chat in dashboard
- Business hours
- Quick questions
- Real-time help
Preventive Measures
Best Practices
Regular Testing
Regular Testing
- Test after site updates
- Check different browsers
- Monitor error logs
- Verify mobile experience
Stay Updated
Stay Updated
- Widget auto-updates
- Check for announcements
- Review changelog
- Test new features
Monitor Performance
Monitor Performance
- Check load times
- Watch error rates
- Track engagement
- Review analytics