Sentry's logo
Docs
⌘K
or
Ask AI
ChangelogSandboxGo to SentryGet Started
  • Sentry for Next.js
    • Manual Setup
      • Configuration
        • Source Maps
          • Capturing Errors and Events
            • Enriching Events
              • Special Use Cases
                • Data Management
                  • Set Up Tracing
                    • Set Up Profiling
                      • Set Up Session Replay
                        • Set Up Crons
                          • Set Up User Feedback
                            • OpenTelemetry Support
                              • Set Up Feature Flags
                                • Migration Guide
                                  • Troubleshooting
                                    • Supported Browsers

                                  • Account Settings
                                  • Organization Settings
                                  • Product Walkthroughs
                                  • Pricing & Billing
                                  • Sentry CLI
                                  • Sentry API
                                  • Security, Legal, & PII
                                  • Concepts & Reference

                                    • Codecov
                                    • Discord
                                    • Support
                                    • Self-Hosting Sentry
                                    • Developer Documentation
                                  • Home
                                  • Platforms
                                  • JavaScript
                                  • Next.js
                                  • Troubleshooting

                                  Troubleshooting

                                  If you need help solving issues with your Sentry JavaScript SDK integration, you can read the edge cases documented below.

                                  The SDK is not sending any data
                                  Updating to a new Sentry SDK version
                                  Debugging additional data
                                  Max JSON payload size
                                  CORS attributes and headers
                                  Unexpected OPTIONS request
                                  `instrument.js` Line Numbers for Console Log statements
                                  Dealing with Ad-Blockers
                                  Using the `tunnel` Option
                                  Third party promise libraries
                                  Events with 'Non-Error Exception'
                                  Capturing resource 404s
                                  Build errors with vite
                                  Missing module `diagnostics_channel`
                                  Terser plugin build errors
                                  pnpm: Resolving 'import-in-the-middle' external package errors
                                  Out of Memory (OOM) errors during build
                                  Using the Sentry Next SDK in a Nx monorepo (using `@nx/next`)

                                  If you need additional help, you can ask on GitHub. Customers on a paid plan may also contact support.

                                  Previous
                                  Migration Guide
                                  Next
                                  Supported Browsers
                                  Help improve this content
                                  Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
                                  How to contribute   |  Edit this page   |  Create a docs issue   |  Get support

                                    Package Details

                                    • Latest version: 8.51.0
                                    • npm:@sentry/nextjs
                                    • Repository on GitHub