Troubleshooting
Solutions to common widget issues.
Widget doesn't load
Verify the token
// In browser console
console.log('Configured token:', document.querySelector('[data-token]')?.dataset.token);
If the token is empty or incorrect, get a new one from the Dashboard.
Check console errors
Open DevTools (F12) → Console and look for errors:
401 Unauthorized: Invalid or expired token403 Forbidden: Unauthorized domain429 Too Many Requests: Rate limit reachedNetwork Error: Connection problem
Verify CORS
If you see CORS errors, make sure your domain is verified in the Dashboard.
Styles not applied
Verify CSS is loaded
<!-- Must be in <head> -->
<link rel="stylesheet" href="https://cdn.neuroon.ai/widget.css">
Conflicts with existing CSS
If your CSS interferes with the widget:
/* Increase specificity */
#neuroon-search .neuroon-widget {
/* your styles */
}
Or use !important as a last resort.
Voice search doesn't work
Requirements
- HTTPS (required)
- Compatible browser: Chrome, Safari, Edge
- Microphone permission granted
Verify support
const supported = 'webkitSpeechRecognition' in window || 'SpeechRecognition' in window;
console.log('Voice supported:', supported);
Products don't appear
Verify synchronization
- Go to Dashboard → Products
- Verify there are indexed products
- Check that products are active (not drafts)
Verify filters
Filters may hide results:
// Clear filters
widget.clearFilters();
widget.search('test');
Slow performance
Reduce results per page
NeuroonWidget.init({
ui: {
resultsPerPage: 10, // Default: 20
},
});
Lazy loading images
The widget uses lazy loading by default. If you see issues:
.neuroon-product-image {
loading: lazy;
}
Rate limiting errors
If you receive 429 errors:
- Wait: Limits reset every minute
- Reduce searches: More aggressive debounce
- Contact support: If you need more capacity
Debug mode
Enable detailed logs:
NeuroonWidget.init({
debug: true, // Logs in console
});
Contact Support
If the problem persists:
- Capture the console error
- Note your Shop ID
- Describe the steps to reproduce
- Contact us at support@neuroon.ai