Skip to content

Impossible to configure auth for sentry-cli on sentry for nextjs #5061

Closed
@rsereir

Description

@rsereir

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

6.19.6

Framework Version

No response

Link to Sentry event

No response

Steps to Reproduce

  1. Push commit on gitlab
  2. CI/CD trigger
  3. yarn build

Expected Result

Build should be OK without any auth token for sentry-cli ( why sentry-cli is included in sentry nextjs ? )

Actual Result

W: Sentry CLI Plugin: Command failed: /app/node_modules/@sentry/cli/sentry-cli releases new V8ns9KjkQDtMyhaaAtVxo
W: error: API request failed
W:   caused by: sentry reported an error: Authentication credentials were not provided. (http status: 401)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions