Sentry fetching source maps from different URL

hello, all.

sentry is reporting “There was 1 error encountered while processing this event” with details of “Source file was not JavaScript: [URL]”.

the sourceMappingURL points to something like “https://mre.run/maps/scripts/app-f1c2ffb1ab.js.map” but sentry is saying its trying to fetch the file via something like "“https://mre.run/scripts/app-f1c2ffb1ab.js.map”.

please advise.

thanks!

That can be if you upload the minified files with a different sourcemap header. The sentry-cli tool will attempt to derive correct references automatically but there might be an issue.

Are you using sentry-cli? In that case you can look at the upload output and it should show you the reference it generates. Additionally if you are using sentry-cli please make sure you are using a recent version as there were known issues in the past with it.