Skip to content

Next.js build failure - Invalid org token (http status: 401) #14181

@subodhpareek18

Description

@subodhpareek18

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

8.36.0 (also on 8)

Framework Version

React 18, Next 14.2.14

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Initialized sentry setup according to the docs with the help of the cli
  2. It updated next.config.mjs, created instrumentation files, client side provider component, etc
  3. Connected github repo to vercel and triggered a deploy

Expected Result

The build should have passed

Actual Result

The build fails with with the following error

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: browserIssues related to the Sentry Browser SDK

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions