Common questions
How does the one-click configuration work?
How does the one-click configuration work?
Copy the config prompt from your Sonarly dashboard and paste it into your coding agent (Cursor, Claude, Windsurf). Your agent will automatically install the tracker, configure sourcemaps, and set up backend tracing.
What frameworks does Sonarly support?
What frameworks does Sonarly support?
Frontend: React, Vue, Svelte, Angular, and vanilla JS. Backend: Express, NestJS, Fastify, Django, FastAPI, Flask. See the frontend page for details.
How do AI-powered alerts work?
How do AI-powered alerts work?
Sonarly detects errors from frontend and backend, clusters similar issues using AI, and sends email alerts only for critical issues among Blocking, Annoying and Harmless issues.
What is LLM-ready context?
What is LLM-ready context?
When a bug is detected, you can copy the full context (error, location, network requests, console logs, backend traces) and paste it directly into your coding agent to fix the bug.
Is my data secure?
Is my data secure?
Yes. Your data is encrypted in transit and at rest. You control what data is captured (sensitive inputs are masked by default). We never share your data with third parties.
Troubleshooting
Tracker not connecting
Tracker not connecting
Check that:
- Your
projectKeyis correct ingestPointis set tohttps://sonarly.dev/ingest- Enable debug mode:
__debug__: 5
Sourcemaps not working
Sourcemaps not working
Verify that:
.mapfiles are generated in your build- Upload command succeeded (no 404 errors)
- Sourcemap paths match production URLs
Backend traces not appearing
Backend traces not appearing
Check that:
- DSN format is correct:
https://KEY@sonarly.dev/ID tracesSampleRateis set to1.0- Backend was restarted after configuration
- CORS allows
x-sonarly-session-idheader (see CORS section below)
CORS errors with Sonarly tracker
CORS errors with Sonarly tracker
The Sonarly tracker adds an
x-sonarly-session-id header to your API requests. This custom header triggers CORS preflight requests.Your backend must allow this header in its CORS configuration:- Add
x-sonarly-session-idto the list of allowed headers - Make sure both
yourdomain.comandwww.yourdomain.comare in allowed origins
- Missing
originin CORS config (causesAccess-Control-Allow-Originto be missing) - Different origins:
example.com≠www.example.com- add both! - Forgetting to redeploy after CORS changes
- Browser caching old CORS responses (try incognito or hard refresh)
Build fails with Out of Memory (OOM) on Vercel
Build fails with Out of Memory (OOM) on Vercel
Large projects with sourcemaps can exceed Vercel’s 8GB memory limit.Solutions (in order of effectiveness):
- Exclude source content from sourcemaps (saves ~1GB):
- Split heavy dependencies (reduces peak memory):
-
Use esbuild (default in Vite) - don’t use
minify: 'terser'which uses more memory - Increase Node memory:
- Build locally and deploy pre-built - use GitHub Actions (14GB) instead of Vercel’s build
Never split React core packages (
react, react-dom, scheduler) into separate chunks - this causes runtime errors.Need more help?
Contact support
Reach out to our team at founders@sonarly.dev

