Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading error from local-preview when token has expired #266

Open
evan10s opened this issue Nov 6, 2024 · 4 comments
Open

Misleading error from local-preview when token has expired #266

evan10s opened this issue Nov 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@evan10s
Copy link

evan10s commented Nov 6, 2024

I use browser authentication with spacectl. When I run
spacectl stack local-preview

but my session has expired, the error I get is:

2024/11/06 10:54:36 no stack found: no --id flag was provided and stack could not be found by searching the current directory

In reality, I just have to re-authenticate and then it works. It would be nice if it triggered the login process automatically or told me I need to login again instead.

@tomasmik
Copy link
Contributor

tomasmik commented Nov 7, 2024

hey @evan10s could you provide what version of spacectl you're using?

@tomasmik tomasmik added the bug Something isn't working label Nov 7, 2024
@evan10s
Copy link
Author

evan10s commented Nov 7, 2024

1.5.0

I didn't realize 1.6.0 was out, I'll see if I can reproduce on that

@evan10s
Copy link
Author

evan10s commented Nov 7, 2024

It seems to happen on 1.6.0 for me as well

@tomasmik
Copy link
Contributor

Ok, will look in to, thanks for confirming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants