Troubleshooting Installation Issues
Most installation issues occur due to incorrect widget keys, caching problems, blocked scripts, or incomplete source setup.
How to Read the Browser Console
- Open your site in the browser.
- Open developer tools with
F12orCtrl + Shift + I. - Go to the Console tab.
- Reload the page.
- Look for red errors related to the Witzo script, blocked network requests, or widget initialization.
Console errors are especially useful for CSP blocks, JavaScript conflicts, and invalid script loading.
Issue: Widget Not Showing
Cause: Script not added correctly or cached version loading.
Solution:
- Confirm script is before
</body>. - Clear cache and CDN.
- Hard refresh browser.
Issue: Invalid Widget Key
Cause: Incorrect or revoked widget key.
Solution:
- Go to Dashboard > Widget Customization.
- Copy the correct widget key.
- Replace it in your embed script.
Issue: Domain Allowlist Problem
Cause: Your domain is not approved in widget configuration.
Solution:
- Verify the allowed domain matches the exact site domain.
- Check
wwwvs non-wwwmismatch.
Issue: CSP Blocking Script
Cause: Content Security Policy blocks external script loading.
Solution:
- Update CSP headers to allow the Witzo script domain.
- Check the browser console for CSP errors.
Issue: CDN Caching Old Script
Cause: CDN is serving an outdated cached version.
Solution:
- Purge CDN cache fully.
- Test in incognito mode.
Issue: JavaScript Conflicts
Cause: Another script throws a runtime error.
Solution:
- Open DevTools > Console.
- Fix conflicting script errors first.
Issue: Widget Loads but AI Does Not Answer
Cause: The widget is visible, but the request is blocked by usage limits, missing training data, or a runtime/network problem.
Solution:
- Confirm the agent has completed training or retraining.
- Check Dashboard > Analytics for usage-limit exhaustion.
- Open the browser console and network panel for request failures.
- Verify the widget key and approved domain are correct.
- Retry with a simple test question after confirming the latest content source is indexed.
If none of the above resolves the issue, contact Witzo Support and include your widget key, affected domain, and the error you saw in the browser console.