Skip to content

applicationKey does not exist in SentryReactRouterBuildOptions #17384

@kenn

Description

@kenn

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react-router

SDK Version

10.4.0

Framework Version

React Router v7.8

Link to Sentry event

No response

Reproduction Example/SDK Setup

In vite.config.ts, applicationKey has been used for thirdPartyErrorFilterIntegration, but it's missing now.

const sentryConfig: SentryReactRouterBuildOptions = {
  authToken: process.env.SENTRY_AUTH_TOKEN,
  applicationKey: 'some-key', // for thirdPartyErrorFilterIntegration
}

export default defineConfig((config) => {
  return {
    plugins: [
      reactRouter(),
      tsconfigPaths(),
      sentryReactRouter(sentryConfig, config),
    ],
  }
})
Object literal may only specify known properties, and 'applicationKey' does not exist
in type 'SentryReactRouterBuildOptions'.ts(2353)

Steps to Reproduce

Put the code above

Expected Result

Config should take applicationKey

Actual Result

Config does not accept applicationKey

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions