// troubleshooting guide · posthog
PostHog Error Tracking Not Capturing Exceptions or Showing Minified Stack Traces
- Status
- Workaround available
- platforms:
- Web, Node.js, React Native, iOS, Android, Flutter
- updated:
- November 23, 2026
- reports:
- 2
- Method
- how we research
RUNBOOK · posthog/error-tracking-not-working4 FIXES
// quick answer
Most missing exceptions come from exception autocapture being off, caught errors that are never sent with captureException(), or source maps that were not uploaded before deploy. Turn on autocapture, report caught errors manually and upload source maps in your build.
Most likely fix: Enable exception autocapture and update the SDK
How to fix it
// try these in order, the most common fix is first
FIX 1Enable exception autocapture and update the SDK
- 01Open Error Tracking > Configuration and turn on exception autocapture
- 02Run the SDK health check and update outdated SDKs
- 03Wait a few minutes; issues can take a while to update after ingestion
Did this fix it?FIX 2Send caught errors manually
- 01In catch blocks call posthog.captureException(error)
- 02For libraries that reject with strings, wrap them: posthog.captureException(new Error(err))
Did this fix it?FIX 3Upload source maps before deploying
- 01Run npx @posthog/wizard upload-source-maps, or follow the guide for your bundler (Next.js, Vite, Webpack, CLI, GitHub Action)
- 02Upload in the build step, before the code that references the maps goes live
- 03Check Error Tracking > Configuration > Symbol sets for missing symbol set warnings and the right project
Did this fix it?FIX 4Fix "Script error" with no stack trace
- 01Add crossorigin="anonymous" to script tags loaded from a CDN or other domain
- 02Return an Access-Control-Allow-Origin header for your origin from that host
Did this fix it?
SANDBOX · posthog RUNS IN YOUR BROWSER
Try it: chart events, find the funnel drop-off, watch the session, roll out a flag
A hands-on PostHog-style sandbox, including the spots where users get stuck. See where problems like this one start. 1-2 minutes, nothing is saved.
Symptoms
Error Tracking stays empty, only some errors appear, stack traces show minified code, or issues show "Script error", "Non-Error promise rejection" or Safari "Load failed" with no stack trace.
Why it happens
- C-01Exception autocapture is disabled in Error Tracking configuration
- C-02Only unhandled exceptions are autocaptured; caught errors are not
- C-03Source maps missing, uploaded to another project, or uploaded after the deploy
- C-04Scripts served from another domain without crossorigin, which hides error details
- C-05Promises rejected with strings instead of Error objects
- C-06Outdated SDK version
// this guide also covers
- posthog error tracking not working
- posthog exceptions not showing
- posthog source maps not working
- posthog minified stack trace
- posthog captureException not working
- posthog script error no stack trace
Still not working?
If PostHog keeps failing, you're not alone. See every PostHog problem users report or the alternatives people switch to.
Done fighting PostHog? Our small team builds your own PostHog alternative, or any software you need: web, mobile, games, desktop. Price agreed together.
Talk to usThe same problem in other apps
All not loading, error messages & connection guides →
Mixpanel /decide and /flags Requests Failing (Mixpanel)
Amplitude Chart Not Loading or Slow (Amplitude)
Hotjar Content Security Policy (CSP) Errors (Hotjar)
Segment Analytics.js Not Loading (Segment)
Other PostHog errors
- PostHog Events Not Showing Up
- PostHog Blocked by Ad Blockers
- PostHog Session Replay Not Recording
- PostHog Replay Broken: Missing CSS, Fonts or Blank Screen
- PostHog Bill Too High
- PostHog Feature Flags Not Working or Undefined
- PostHog Pageviews Missing or Duplicated in Next.js
- PostHog Numbers Different From Google Analytics