Overview
The Debug Log records what the chatbot is doing, including OpenAI errors, sync results and settings changes, so you can troubleshoot problems. It’s stored in your database and works without WP_DEBUG. Open it from WPiko AI Chatbot → Advanced → Debug Log.
Features
- Enable / disable logging: use the switch at the top right. Turn logging on while troubleshooting and off afterwards.
- Statistics: total entries, Errors, Warnings and Info.
- Log viewer: the latest 100 entries, with Time, Level and Message.
- Filter: All Levels, Errors Only, Warnings Only or Info Only.
- Refresh, Copy logs (useful when contacting support) and Clear Logs.
Plugin Data
The Plugin data section at the bottom controls what happens when you delete the plugin. By default, your settings and conversations are kept, so nothing is lost if you reinstall.
Turn on Delete all WPiko AI Chatbot settings, conversations and logs from this site when the plugin is deleted and click Save preference to remove everything on deletion. Files you uploaded to OpenAI stay in your OpenAI account. Delete the knowledge base in AI Settings → Model & Knowledge first if you want those removed too. More: Uninstalling and Removing Data.
When to Use the Debug Log
- The chatbot doesn’t answer, or answers with an error
- A file upload, Quick learn, Scan Website or product sync fails
- You want to confirm a settings change took effect
- Support asks you for log details
Common Log Messages
- OpenAI rejected the API key: the key is wrong, deleted or revoked. Create a new one.
- Your OpenAI account has no credit: add prepaid credit in OpenAI billing.
- Rate-limiting this API key: too many requests for your OpenAI usage tier. Limits rise as you use the API.
- Cannot use [model] yet: verify your OpenAI organization or choose another model.
- Took too long to answer: usually temporary. Lower the reasoning effort or use a faster model.
For the full list and fixes, see Troubleshooting the OpenAI Connection.