Documentation
Source maps
Symbolication is display-only. Error grouping still uses the minified stack. Upload one JSON map per app, release, and bundle URL.
What you need
- A project API key with source map upload enabled. Browser ingest keys cannot upload maps.
- The same
releasestring on the SDK and on the upload. - A
bundle_urlthat matches the script URL the browser or server loaded, including the content hash.
React Native / Expo (Hermes, EAS Update): release identity, device bundle names, and composed maps.
Next.js
Webpack (Next.js 15) usually emits a map next to each chunk. Turbopack (Next.js 16) can hash the map independently of the chunk. Point the uploader at the build output and let it follow the last non-inline sourceMappingURL comment.
Next.js does not emit browser source maps by default. Turn them on in next.config.ts:
const nextConfig = {
productionBrowserSourceMaps: true,
};
export default nextConfig;- Local or Node deploy:
artifact_path.next/static,base_urlhttps://your-domain/_next/static. This uploads only the browser maps. Server maps under.next/serverare never loaded by browsers and would use up your quota. - Quota: the Free plan stores up to 25 source map artifacts per project across all releases (Pro 250, Business 2,500). Re-uploading the same app, release and bundle URL replaces the artifact instead of adding one. Upload only the maps for releases you deploy.
- Vercel: the
.nextoutput exists on the build machine, not in the GitHub checkout. Run the upload in the same job that built the app, or download the build output first. This repository has not been verified against a live Vercel build.
GitHub Action
From another repository, pin the composite action to a full commit SHA (with a version comment). Tags before v1.17.18 ship an older Action without sourceMappingURL support; tags ≤ v1.16.5 also interpolated inputs into the script — do not use those. Keep the pin updated with Dependabot github-actions (or Renovate) when you intentionally take a newer release.
- uses: Telemetry-Tracker/telemetry-tracker/.github/actions/upload-source-maps@559d1f5b9ca4c79ed282de49b5a7b5f55b33b8bd # v1.22.4
with:
api_key: ${{ secrets.TT_API_KEY }}
release: ${{ github.sha }}
app: "web"
artifact_path: ".next/static"
base_url: "https://your-domain/_next/static"