Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/platforms/javascript/common/troubleshooting/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ notSupported: ["javascript.capacitor"]
sidebar_order: 9000
---

<Expandable permalink title="The SDK is not sending any data">

If you set up the Sentry SDK and it's not sending any data to Sentry:

- Check that you have configured a DSN and that you are passing it to the `dsn` option in `Sentry.init()`.

If you are using environment variables to pass the DSN, make sure the environment variables are set in all relevant environments. Additionally, if you are using environment variables inside a framework, check that the framework will include the environment variables in your bundle. Often this means you will have to prefix your environment variables with special prefixes defined by your framework (`NEXT_PUBLIC_` in Next.js, `NUXT_` in Nuxt, `VITE_` for Vite projects, `REACT_APP_` for Create React App, ...).

- Check that you have disabled any ad-blockers.
- Set `debug: true` in the `Sentry.init()` options and observe your console output when you start your application. The SDK may tell you why it is not sending any data.
- Check the [Stats](https://sentry.io/orgredirect/organizations/:orgslug/stats/) and [Suscription](https://sentry.io/orgredirect/organizations/:orgslug/settings/billing/overview/) pages in Sentry. You may have ran out of quota.

</Expandable>

<Expandable permalink title="Updating to a new Sentry SDK version">

If you update your Sentry SDK to a new major version, you might encounter breaking changes that need some adaption on your end.
Expand Down
Loading