Use the test buttons below to verify end-to-end telemetry ingestion, source maps, and scope metadata in your Sentry dashboard.
Triggers an unhandled exception during React rendering. In development, Next.js displays the Dev Overlay; in production, it renders your src/app/error.tsx boundary and sends the event to Sentry.
Sends a handled exception with custom tags and extra context to verify direct SDK transmission without crashing the user interface.
Executes a Next.js Server Action wrapped with withSentryAction, attaching user metadata and tracing to the backend scope.
Calls /api/sentry-test-server to verify server-side Node.js runtime error tracking and scope instrumentation.
Note on Development Mode: Next.js dev server overlays any uncaught error with the red error modal. In production, unhandled errors will render your custom src/app/error.tsx fallback screen.
To test without triggering the Next.js dev overlay, use Button #2 (Sentry.captureException), Button #3, or Button #4.