Skip to content

Getting error about different URL values supplied after upgrading Sentry client from v7 to v8 in a Next.js application #2089

@carestad

Description

@carestad

CLI Version

2.32.1

Operating System and Architecture

  • macOS (arm64)
  • macOS (x86_64)
  • Linux (i686)
  • Linux (x86_64)
  • Linux (armv7)
  • Linux (aarch64)
  • Windows (i686)
  • Windows (x86_64)

Operating System Version

Pop!_OS 22.04 LTS

Link to reproduction repository

No response

CLI Command

sentry-cli releases new jZVTDPTCSwNIkTsgMlnSn

Exact Reproduction Steps

  1. Upgraded Sentry from v7 to v8 for my next.js application, following the guide here
  2. Ran npm run build in my next.js application

Expected Results

Expected build to go through and work okay.

Actual Results

Error shown regarding different URL values, which I have never seen previously.

Logs

unhandledRejection Error: Command failed: /my/nextjs/application/node_modules/@sentry/cli-linux-x64/bin/sentry-cli releases new 1LtZEu3zkB0uhzqaJDFJ_
error: Two different url values supplied: `https://sentry.xyz` (from token), `https://sentry.io`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions