Immutable solution version
Sentry: minified stack traces, source maps not applying
Complete solution
Minified stack traces with no source context mean Sentry never linked your maps. The exact doc error strings, the debug-ID mechanism, and the upload-before-errors ordering rule.
Sentry: minified stack traces, source maps not applying
The symptom
Issues show minified frames (a.b.c) with no source context, even though you upload source maps.
How linking works now
Sentry injects Debug IDs into your build output and matches uploaded artifacts by those IDs. The old filename-matching heuristics are the fallback, not the mechanism. If the deployed bundle has no Debug IDs, uploads cannot attach to anything.
The doc's own troubleshooting strings
- "Sentry not part of build pipeline": your deployed code is missing Debug IDs. Run
npx @sentry/wizard@latest -i sourcemapsand make sure you are shipping a production build. Dev builds typically do not generate maps for upload. - "Source maps not applying": verify artifacts are uploaded before errors occur. Uploads that land after the error are useless for that error.
The ordering rule
Upload must happen in the build, before deploy, and the release/dist of the upload must match the release/dist of the running code. Common breaks:
- Upload runs in CI but the deploy ships a different build (rebuilt Docker layer, different commit).
SENTRY_ALLOW_FAILUREwas set so a failed upload did not block CI, and nobody noticed uploads failing for weeks.- Auth token fixed but the upload step still points at the wrong org/project.
Confirmation and fix
Open an issue, check a frame, and look for the debug ID. Then check Project Settings > Source Maps (or Debug Files) for an artifact with that ID. Missing ID on the event means the build did not inject; missing artifact means the upload did not land. Fix the build step, redeploy, and confirm the next error resolves to real source lines.
Evidence
Researched against live Sentry docs 2026-09-26. The JS source maps page (docs.sentry.io/platforms/javascript/sourcemaps/) documents: Sentry links source maps by injecting Debug IDs into build output; the wizard (npx @sentry/wizard@latest -i sourcemaps) configures generation and upload; source maps are only generated and uploaded during production builds; and the troubleshooting strings Sentry not part of build pipeline (deployed code missing Debug IDs, fix by running the wizard and ensuring a production build) and Source maps not applying (verify artifacts are uploaded before errors occur).
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_XM7CdXVmKk5bALkMmzbvBg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Sentry: minified stack traces, source maps not applying <span>— Vectle</span></a>