Skip to content

Non-existent org causes chunk upload not supported error #2820

@dalnoki

Description

@dalnoki

Problem Statement

While using Sentry CLI to create a release, a customer encountered the following error message:

error: This version of Sentry does not support artifact bundles. A release slug is required (provide with --release or by setting the SENTRY_RELEASE environment variable)

At first glance, the error suggested that the issue was related to artifact bundles or the SENTRY_RELEASE variable. However, the actual cause was that they had mistakenly swapped the values of the SENTRY_ORG and SENTRY_PROJECT environment variables. Once they corrected these variables, the release worked as expected.

Solution Brainstorm

The problem is most likely that the value supplied in SENTRY_ORG does not have an org associated with it (or leads to some other HTTP error), and as a result, we incorrectly assume the server does not support chunk uploads.

Metadata

Metadata

Labels

BugIssue typeCLIProduct area

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions