Skip to content

sentry init: project creation fails with 404 when selecting org #479

@sentry-junior

Description

@sentry-junior

Summary

During sentry init (experimental AI wizard), after selecting an organization, project creation fails with 404 Not Found: The requested resource does not exist. This happens when selecting the Sentry provider in the interactive flow without specifying a team upfront.

Reproduction

  1. Run sentry init (v0.18.1) in a project directory
  2. Accept the experimental prompt
  3. Select an organization (e.g. sentry-developer-experience) when prompted
  4. Observe failure

Expected behavior

Either project creation succeeds, or the wizard prompts for a team before attempting creation (since the user belongs to multiple teams in that org).

Workaround

Pass the team flag explicitly:

sentry init --team sentry-developer-experience

Versions affected

v0.18.1

Action taken on behalf of Sergiy Dybskiy.

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