Skip to content

Error while triggering instrumentation handler for INP #11156

Description

@DurchblickerFabian

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

7.107.0

Framework Version

14.1.3

Link to Sentry event

No response

SDK Setup

Sentry.init({
  dsn: process.env.SENTRY_DSN,
  environment: process.env.SENTRY_ENV,
  autoSessionTracking: Boolean(process.env.NC_SENTRY_AUTO_SESSION_TRACKING),
  debug: process.env.NC_SENTRY_DEBUG === 'true',
  replaysSessionSampleRate: Number(process.env.NC_SENTRY_REPLAYS_SESSION_SAMPLE_RATE),
  replaysOnErrorSampleRate: Number(process.env.NC_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE)
  integrations: [
    new Sentry.Replay(),
    Sentry.browserTracingIntegration({
      enableInp: true
    })
  ]
})

Steps to Reproduce

  1. Navigate from one page to another / also sometimes occurs when refreshing the page
  2. Error will occur

Expected Result

No error on navigation.

Actual Result

On page navigation the following error occurs:

image

sentry.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions