Last updated 26 November 2026. By Paul Badarau.
A fictional shop's issue reads TypeError: Cannot read properties of undefined (reading 'price'). Its top frame is t in /assets/index-4f2a9c.js:1:20431, and the frames below are just as short. After a source map upload, the same frame reads formatPrice in src/cart/totals.ts:42:18, with the minified frame kept underneath it.
How Monitoring lays out a stack trace on the issue page:
- Each exception shows its type, its message, and an Unhandled mark when the SDK reports that your code did not catch it. An error with a cause shows each exception in the chain, up to 5, with up to 50 frames each.
- Frames are listed newest call first. The top frame is where the error was thrown, and each frame below it called the one above.
- Each frame shows the function, the file with its line and column, and an In app mark. The browser SDK marks every frame in app, so the mark does not separate your code from a library.
- A frame without a map says Source map not found. A map that cannot be parsed says Source map could not be read, and a map with no entry for that column says No original position in the source map.
To get readable frames:
- An Owner or Administrator creates an upload token in Monitoring setup, under Optional. It is shown once. It is not the DSN, and it cannot send events.
- Inject a debug ID into each bundle and its map with
sentry-cli sourcemaps inject, or with the debug ID option of your bundler plugin. - Send each
.mapfile, or a zip of them, as a POST to/api/<ingest id>/artifacts/withAuthorization: Bearerand the token. The unmodifiedsentry-cli sourcemaps uploadcommand is not accepted. - Open the issue again. Monitoring applies the map when you read the issue, so a map uploaded after the error still works on events already stored.
A source map gives you the file, line and function, and no code. Monitoring removes the source text from every map before it stores it, and it never stores source lines from events, so you read the line in your own editor. Maps are capped at 512 KiB each once the source text is removed, so a very large bundle's map is refused and its frames stay minified. Grouping also stays on the minified frames. Uploading a map does not merge or move issues, and a new build whose minified names change can open a second issue for the same bug.
The product page for this is Monitoring.