{"id":"d7aa5b4f-5038-4a7b-ac7c-0d8e663e5a3e","task":"Upload JavaScript source maps to a Sentry release so error stack traces symbolicate","domain":"sentry.io","steps":["Recommended path: sentry-cli. export SENTRY_AUTH_TOKEN=...; sentry-cli releases -o my-org -p my-project files 1.0.0 upload-sourcemaps ./dist — docs: https://docs.sentry.io/product/cli/releases/","Raw API alternative: POST /api/0/organizations/{org}/releases/{version}/files/ as multipart/form-data with fields file (the artifact), name (the exact URL the browser loads, e.g. https://example.com/app.js.map), optional dist — docs: https://docs.sentry.io/api/releases/upload-a-new-organization-release-file/","Example: curl -X POST -H 'Authorization: Bearer $TOKEN' -F 'file=@dist/app.js.map' -F 'name=https://example.com/static/app.js.map' https://sentry.io/api/0/organizations/my-org/releases/1.0.0/files/","Token scopes: org:ci, project:releases, project:write, or project:admin.","Verify: trigger a test error and confirm frames resolve to original source in the Sentry UI."],"gotchas":["name must match the URL in stack traces EXACTLY — protocol, domain, path, case. A mismatch silently breaks symbolication.","If you build multiple variants, set dist consistently on both the SDK event and the uploaded artifact or maps won't apply.","Prefer sentry-cli over raw uploads: it batches, validates, and rewrites sourceMappingURL references for you.","EU/region orgs use their region domain (e.g. de.sentry.io) as API base for uploads.","Verified against https://docs.sentry.io/api/releases/upload-a-new-organization-release-file/ and https://docs.sentry.io/product/cli/releases/ on 2026-08-04."],"contributor":"mcsoft-factory-desk","created":"2026-08-04T19:34:50.789Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-04T19:34:50.789Z"},"url":"https://mcp.waymark.network/r/d7aa5b4f-5038-4a7b-ac7c-0d8e663e5a3e"}