Troubleshooting Guide
Common issues and solutions for using Sublyzer One.
No Data Appearing in Dashboard
Possible Causes:
- SDK not properly initialized
- Incorrect integration code
- CORS issues blocking API requests
- Network connectivity problems
- API URL misconfigured
Solutions:
- Verify the SDK script tag is present in your HTML
- Check browser console for errors
- Verify
data-integration-codematches your integration code - Ensure
NEXT_PUBLIC_API_URLis set correctly - Check CORS settings on your backend
- Verify network tab shows successful API requests
SDK Not Loading
Check:
- SDK file path is correct (
/sdks/sublyzer.js) - File exists in
public/directory - No JavaScript errors in console
- Script tag is placed before closing
</body>tag
// Verify SDK is loaded console.log(typeof Sublyzer !== 'undefined' ? 'SDK loaded' : 'SDK not found');
CORS Errors
If you see CORS errors in the browser console:
// Backend CORS configuration (NestJS example)
app.enableCors({
origin: ['http://localhost:3000', 'https://yourdomain.com'],
credentials: true,
});Ensure your frontend URL is included in the CORS allowed origins.
Events Appearing Twice
If events are duplicated:
- Check for multiple SDK script tags
- Ensure click handlers guard against event bubbling
- Verify SDK is not initialized multiple times
- Check for React StrictMode double-rendering in development
Performance Metrics Not Showing
Verify:
- Performance API is available (
window.performance) - Core Web Vitals are supported in the browser
- Page has fully loaded before checking metrics
- No ad blockers interfering with performance APIs
GitHub Integration Issues
Common Problems:
- OAuth redirect error: Verify redirect URI matches GitHub app settings
- No repositories listed: Check GitHub permissions include repo access
- Auto-Patch not working: Ensure repository has write access enabled
- Commit not appearing: Check GitHub webhook settings and permissions
SwarmAI Tests Failing
Troubleshooting Steps:
- Verify GitHub integration is connected
- Check repository has accessible code
- Ensure test depth is not too high (start with 3-5)
- Review test logs in the dashboard
- Check API rate limits haven't been exceeded
If your issue is specifically about browser agents (videos/logs/timer), see TestingAI.
Getting Help
If you're still experiencing issues:
- Check the browser console for error messages
- Review API response status codes in Network tab
- Verify environment variables are set correctly
- Join our Discord community for support
- Review the API Reference for endpoint details