Troubleshooting
Common issues and solutions for the AI Copilot extension.
Chat widget does not appear
The Copilot button is not visible in the bottom-right corner of admin pages.
Check the following:
- Extension is enabled: run
php -f bin/magento module:status Mirasvit_Copilotand verify it shows as enabled. - Cache is clean: run
php -f bin/magento cache:clean. - Static content is deployed: run
php -f bin/magento setup:static-content:deploy -f. - Admin user is logged in: the widget only appears for authenticated admin users.
"Access denied" for a tool
Copilot reports that access is denied when trying to use a tool.
Solution: the admin user's role does not have permission to use the tool. See Configure role permissions for step-by-step instructions on enabling tool access.
"Access to table X is restricted"
The Database Reader blocks a query because the table is restricted.
Solution: check the Tools Settings:
- Verify the Table Access Mode (blacklist vs whitelist)
- Check the Table Patterns list
- If using whitelist mode, ensure the table is included in the patterns
Tables matching mst_mcp_* (the module's own tables) are always blocked and cannot be unblocked.
Copilot responses are slow or time out
Check the following:
- OpenAI API status: verify that OpenAI's API is operational at status.openai.com.
- API key validity: ensure your OpenAI API key is still active and has sufficient quota.
- Database query timeout: if Copilot is running slow queries, increase the Query Timeout in Tools Settings. The maximum allowed value is 300 seconds.
Invalid or expired API key
Copilot cannot connect to the AI service.
Solution: go to Stores -> Configuration -> Mirasvit Extensions -> AI Copilot -> General Settings and verify the OpenAI Secret Key is correct and active. Generate a new key at platform.openai.com/account/api-keys if needed.