Troubleshooting Guide

Chat bubble doesn’t appear on my Website

↑ Back to top

Possible Causes & Solutions:

  • Chatbox Disabled
    → Go to Design & Appearance
    → Ensure Enable Chatbox toggle is ON
  • Viewing While Logged In
    → Some themes hide elements for logged-in admins
    → Try viewing your site in a private/incognito window
  • Browser Cache Issues
    → Hard refresh: Ctrl+F5 (Windows) or Cmd+Shift+R (Mac)
    → Clear any caching plugin temporarily to test
  • JavaScript Errors or Theme Conflicts
    → Open browser console (F12) and check for red error messages
    → Disable other plugins temporarily to identify conflicts
  • Mobile / Responsive Issues
    → Some themes may hide the bubble on smaller screens
    → Check CSS or responsive settings
  • Chat Bubble Visible But Not Clickable
    → Might be caused by overlapping theme elements (z-index)
    → Inspect using browser developer tools and adjust CSS if needed

AI gives error or doesn’t respond

↑ Back to top
  • Verify OpenAI API Key
    → Go to General Settings
    → Ensure key starts with “sk-”
    → If issues persist, generate a new key on OpenAI
  • Check OpenAI Credits
    → Log in to platform.openai.com
    → Go to Billing to confirm available credits
  • Ensure Content Is Indexed
    → Go to Content & Indexing
    → Click Rebuild Content Index (may take a few minutes)
  • Review Browser Console for Errors
    → Open Developer Tools (F12), check Network tab for failed requests
  • Caching Plugin Conflicts
    → Exclude the REST API endpoints below from caching plugins:
    /wp-json/wp-ai-agent/v1/chat
    /wp-json/wp-ai-agent/*
    → See section “Chat Not Working with Caching Plugins” below

Chat not working with caching plugins

↑ Back to top

Symptoms:

  • Responses seem repeated or outdated
  • API calls may fail or return cached content

Solution:

  • Exclude the below endpoints in your caching plugin settings (WP Rocket, W3 Total Cache, LiteSpeed, WP Super Cache, Cloudflare).
    → Exclude the REST API endpoints below from caching plugins:
    /wp-json/wp-ai-agent/v1/chat
    /wp-json/wp-ai-agent/*
  • Only WordPress REST API calls need exclusion; external OpenAI API calls do not need changes.

AI answers are not relevant or accurate

↑ Back to top

Possible Actions:

  • Rebuild Content Index
    → Refresh the AI’s knowledge of your site
  • Check Indexed Content Types
    → Make sure relevant Posts, Pages, Products, etc., are toggled ON
  • Improve Site Content
    → Clear headings, add specifications, FAQs, and answers to common questions
    → Well-organized content helps SensAI provide better responses
  • Clear AI Response Cache
    → Forces SensAI to generate fresh answers for repeated questions

Chat history not saving

↑ Back to top
  • Enable Chat History in Chat History settings
  • Check your WordPress database tables; contact host if errors appear

Indexing takes too long or fails

↑ Back to top
  • Large sites (1000+ pages) may require 15–30 minutes to index
  • Ensure PHP Memory Limit ≥ 256M and Max Execution Time ≥ 300s
  • Exclude unnecessary content (like Media or old posts) to speed up indexing

Chat widget doesn’t match website design

↑ Back to top
  • Customize in Design & Appearance:
    • Main Chatbox Color
    • Light/Dark Mode
    • Custom Avatar
    • Text Colors for readability

Slow AI responses

↑ Back to top
  • Could be caused by large content indexes or high API latency
  • Enable caching for faster repeated responses
  • Rebuilding index or clearing cache may temporarily increase response time

Pro Tips

↑ Back to top
  • Test all changes in incognito/private mode
  • Rebuild the content index after major content updates