Skip to content

'url' no longer exists in type 'SentryBuildOptions' #12284

@lhjt

Description

@lhjt

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/nextjs

SDK Version

8.6.0

Framework Version

Next 14

Link to Sentry event

No response

SDK Setup

const wrappedConfig = withSentryConfig(nextConfig, {
  // ...
  url: "https://mysentry.instance",
  // ...
});

Steps to Reproduce

I have attempted to migrate from sentry 7 to sentry 8 for nextjs. However, the url property no longer seems to exist - this results in my sourcemaps failing to upload during build time, as it is trying to upload it to sentry's server, rather than my self-hosted instance.

I checked the migration guide, and there was no mention of this property changing in the new merged SentryBuildOptions.

Expected Result

This property should still remain or there should be information on how to configure the custom self hosted instance.

Actual Result

Unable to build application

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions