Skip to content

Unexplained 401 when using -d on start when not logged in #1972

@collinmcnulty

Description

@collinmcnulty

Describe the bug

When you're not logged in and try to use astro dev start -d it just gives you a 401. It should suggest that you try to log in or even prompt you to log in.

What CLI Version did you experience this bug?

1.37.0

This CLI bug is related to which Astronomer Platform?

  • Astro
  • Software
  • None/Unknown

What Operating System is the above CLI installed on?

mac os 26

🪜 Steps To Reproduce

❯ astro dev start -d cxxxxxxxxxxxxxxxxxxxx
Error: failed to perform request, status 401
❯ astro login                                                                             

Welcome to the Astro CLI 🚀
To learn more about Astro, go to https://www.astronomer.io/docs
Press Enter to open the browser to log in or ^C to quit…

Logging in as collin@astronomer.io
"CRE Operations" Workspace found. This is your default Workspace.
Successfully authenticated to Astronomer
❯ astro dev start -d cxxxxxxxxxxxxxxxxxxx
✔ Project image has been updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions