The chat doesn’t answer or shows an error
A short checklist for when the Promptor chat stays silent, keeps thinking or shows an error, from the API key and monthly allowance to caching.
When the chat doesn't answer, the message it shows (if any) usually tells you where the problem is. Start with the message, then work through the checklist below in order.
Start with the message
| What visitors see | Go to |
|---|---|
| "Please set up your OpenAI API key or start a free trial in the plugin settings." | Step 1 below |
| "Please enter your OpenAI API key to continue using Promptor." or a message that the free trial is used up, expired or revoked | Step 1 below |
| "AI service error: …" | Step 1 below |
| "📚 The Knowledge Base is currently empty…" | Step 2 below |
| "Monthly limit reached (100 queries)…" or "Our AI assistant is temporarily unavailable due to high usage…" | Step 3 below |
| "I can only help with questions about …" | Not an error: the question was off-topic (see below) |
| "Too many requests. Please wait … seconds and try again." | Step 3 below |
| "Security verification failed…", "Configuration error…", "Chat could not be loaded. (Context Error)" | Step 4 below |
| "Connection issue…" or the chat keeps thinking | Step 5 below |
Every message is explained in Error messages explained.
1. Check the AI connection
- Go to Settings › AI Behavior.
- Check the AI Provider. With OpenAI API (direct), make sure an OpenAI API Key is entered.
- Click Verify Key. You should see "Success! Your API Key is valid."
- If you see "Error: Invalid API Key…", create a new key on the OpenAI platform, paste it and click Save Changes.
- If the key is valid but answers still fail with "AI service error", log in to the OpenAI platform and check that your account has billing set up and credit left.
If you have no key and are using the free trial (25 answers, 3 pages), the Free Trial card on the same tab shows the status (Active, Queries Used Up, Expired, Converted to API Key or Revoked) and the remaining answers. When the trial ends, add your own key to continue. See Get and add an OpenAI API key.
With the WordPress AI Client provider, check that a key for your provider is set in WordPress Settings › Connectors. See Choose your AI provider.
2. Check the knowledge base
- Open Knowledge Bases › Manage.
- Look at Indexed Docs / Chunks on the knowledge base your chat uses. If it shows 0, nothing has been indexed.
- Click Manage, select your content and click Save & Sync.
Syncing needs your own OpenAI API key; during the free trial the chat reads the trial pages directly instead. The chat on a page answers from the knowledge base set in its shortcode's context or in the Promptor Chat block's Answer from setting, so check you filled the right one. See Sync, re-index and clear a knowledge base.
3. Check limits
- Free monthly allowance. The free edition includes 100 AI answers a month. When they are used up, the chat shows "Monthly limit reached (100 queries)…" until the counter resets automatically after the last day of the month (your site's time zone). The lead form keeps working in the meantime. AI Conversations shows "Monthly Query Limit: x / 100 used". Pro has no allowance; your AI provider's billing applies. See Free vs Pro.
- Usage limits. If Settings › AI Usage is set to Pause AI chat, the chat stops when a daily or monthly token limit is reached. Raise the limit or choose Fallback to GPT-3.5-turbo. See Control AI costs with usage limits.
- Visitor rate limit. Each visitor can send up to 20 messages a minute and 200 an hour. Testing very quickly from the same computer can hit this. Wait the number of seconds shown.
4. Rule out caching and optimization
Cached pages and JavaScript optimization are the most common reason the chat works for you (logged in) but not for visitors.
- Clear your caching plugin's cache and any server or CDN cache.
- Open the page in a private browser window, logged out.
- If the chat now works, add the exclusions in Caching plugins so it keeps working.
5. Check the server connection
- Your server needs to reach
api.openai.com. A firewall or security plugin that blocks outgoing requests causes "Connection issue…". Your host can check this. - If answers appear all at once instead of word by word, that is fine: Promptor falls back automatically when the host buffers output. See Streaming responses.
- If the chat stays on "Promptor is thinking" for about a minute and then shows "Connection issue…", the request timed out. Try again; if it keeps happening, ask your host whether outgoing connections are slow.
6. Off-topic questions get a short refusal
Since 2.1.0 the assistant only answers questions about your business. If a visitor asks for general knowledge, code, homework or anything your content does not cover, the chat replies in one or two sentences that it can only help with questions about your site, shows no recommendations and may offer Talk to a human. That is intended. Test with a question your pages actually answer.
7. "Talk to a human" doesn't appear
Human handoff is off until you turn it on.
- Go to Settings › Handoff & Channels.
- Tick Enable human handoff and add at least one channel (WhatsApp, email or phone in the free edition).
- Keep Offer handoff when the visitor asks for a human ticked if the chat should offer channels when a visitor writes "real person" or "talk to someone".
- Click Save Changes and clear your page cache.
See Hand visitors over to a human.
8. Check the browser console
- Open the page with the chat in Chrome or Firefox.
- Press F12 and open the Console tab.
- Ask a question and look for red errors.
Errors that mention another plugin's or theme's script point to a conflict. Temporarily switch to a default theme or deactivate other plugins to find it.
Still stuck?
- Free edition: ask on the WordPress.org support forum.
- Pro: open Diagnostics for a summary of your setup, then open a ticket on the Corrplus support portal.
Include the exact message, your Promptor, WordPress and PHP versions, and your caching plugin. Never send your API key.
Related
Still need help?
Our support team answers every ticket. Tell us your WordPress version, Promptor version and what you see.
