Will a source map I upload after the error still fix the stack trace?

Yes, if the event is still stored and the map matches the bundle that threw. Monitoring applies maps when you open an issue, not when the error arrives, so a map uploaded an hour or six days later fixes events already kept. Raw events are kept 7 days, and grouping stays on the minified frames.

Last updated 26 November 2026. By Paul Badarau.

A fictional photo print shop deploys on a Saturday without uploading maps. On Monday its Owner opens a new issue and sees frames like at t (main-91b4e0.js:1:20577). The build job kept Saturday's output, so the Owner uploads those maps with the Project's upload token and opens the issue again. The frames now read applyCoupon in src/cart/coupon.ts, with the minified frame underneath. Nothing had to be sent again from the site.

A late upload works when three conditions hold:

  • The event is still stored. Errors, logs and traces are kept for 7 days. After that, the issue keeps only its summary, and there is no stack left to map.
  • The map comes from the build that was deployed. With debug IDs, only the map carrying the event's ID matches. A later rebuild of the same code can carry different IDs, so keep the maps, or the whole build output, from each deploy.
  • Without debug IDs, the names match. The event's release must equal the x-postdeploy-release you upload with, and the file must be the path of the bundle the browser loaded.

Mapping at read time has a cost. A map stored by release and file name is replaced when you upload different contents under the same names. If a later build reuses the release name and file path, its map is the one every older event of that release is read with, and those events can show No original position in the source map.

A late map fixes stack frames and never the error message, so a message such as t.reduce is not a function keeps its minified name. Grouping still uses the minified frames, so the events stay in the same issue. The new-issue email that went out on Saturday is not sent again.

The product page for this is Monitoring.

Start your 14-day free trial