Skip to content

Team required error when selecting team interactively during init #477

@sentry-junior

Description

@sentry-junior

Summary

When running sentry init interactively and selecting a team from the prompted list, the flow fails with Project creation failed: Team is required. The team selection prompt appears to not pass the selected value to the project creation step.

Reproduction

  1. Run sentry init in a project directory
  2. When prompted, select an organization (e.g. sentry-developer-experience)
  3. When prompted to select a team, pick one from the list
  4. Observe failure:
■ Project creation failed: Team is required.
│
│ Specify it using:
│ sentry init --team sentry-developer-experience

Expected behavior

Selecting a team from the interactive prompt should pass it through to project creation without error.

Workaround

Pass the team explicitly via flag:

sentry init --team sentry-developer-experience

Versions affected

Confirmed on 0.18.1

Action taken on behalf of Miguel Betegón.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions