Skip to content

Error while triggering instrumentation handler for INP #11156

Closed
@DurchblickerFabian

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions