Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/nextjs
SDK Version
7.1.1
Framework Version
Link to Sentry event
https://sentry.io/organizations/anyfin/issues/3338863766/
Steps to Reproduce
- Upgrade to sentry/nextjs 7.1.1
- Have a backend running sentry/javascript using 7.0.0
- Trigger some requests.
Expected Result
No errors originating from sentry packgages on http calls.
Actual Result
inputBaggageString.split is not a function
originating from:
sentry-javascript/packages/utils/src/baggage.ts
Lines 74 to 76 in 1456b9c
I verified this error is not triggered on the api or client routes of the nextjs package, but rather on our backend api running nextjs/javascript@7.0.0. However it only happens with requests from this specific "client" (sentry/nextjs@7.1.1).
Other sentry frontend clients connecting to the very same backend do net get this error.
Relevant section of sentry.client.config, as you can see no strange settings.
Sentry.init({
dsn: SENTRY_DSN,
enabled: ENVIRONMENT !== "local", // Enable only for prod envs
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: isProduction ? 0.5 : 0,
environment: ENVIRONMENT,
beforeBreadcrumb: excludeGraphQLFetch, // just a small util.
Metadata
Metadata
Assignees
Labels
No labels