Last updated 26 November 2026. By Paul Badarau.
A fictional newsletter site injects debug IDs in its build job and uploads the maps. Its errors still say Source map not found. The cause is the deploy step, which runs the build a second time. The bundle visitors load carries a different debug ID from the one that was uploaded, so no stored map matches it.
Monitoring looks for a map when you open an occurrence. It uses the frame's debug ID when the event has one, and otherwise the event's release and the frame's file path. When every frame misses, the page says Source map not found and asks you to upload a map for that debug ID or release. Check these in order:
- Compare debug IDs. The end of an injected bundle holds a comment such as
//# debugId=5b1e3c2a-8f4d-4a9e-b2c7-0f6a9e3c4c18. Fetch the bundle from your live site and compare that ID with thedebugIdslist the upload returned. If they differ, the live file came from another build. - Upload after the last build step. Inject, upload and deploy the same files. A build that runs again after injection writes new IDs.
- Check that the file was injected. The SDK sends a debug ID only for files that carry one. A chunk outside the folder you injected, an inline script or a third-party script has none.
- Without debug IDs, compare names. The
x-postdeploy-releaseheader must equal thereleaseinSentry.initcharacter for character, andx-postdeploy-filemust be the path the browser loaded, such as/assets/index-7c4e1b.js. - Open the occurrence again. Maps are applied when the event is read, so a corrected upload fixes events already stored.
Three other messages mean something else. Source map could not be read means a map is stored but its data cannot be parsed. No original position in the source map means a map was found but has no entry for that line and column, which usually means it belongs to another build of a file with the same name. Source maps are not configured means the installation has no map store.
Monitoring reads at most 8 distinct maps for one event, a limit large apps can reach. A stack that runs through more than 8 bundles shows Source map not found on the frames that would need a ninth map, even when that map is stored. Frames are read oldest first, so when the cap is reached, the frames nearest the error are the ones left minified.
The product page for this is Monitoring.