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

Error: 400 Bad Request connecting to steampipe cloud when login token has expired #3418

Closed
johnsmyth opened this issue May 16, 2023 · 0 comments · Fixed by #3422
Closed

Error: 400 Bad Request connecting to steampipe cloud when login token has expired #3418

johnsmyth opened this issue May 16, 2023 · 0 comments · Fixed by #3422
Assignees
Labels
bug Something isn't working

Comments

@johnsmyth
Copy link

Describe the bug
When attempting to connect to a Steampipe Cloud DB, if the login token has expired, you get an uninformative error: Error: 400 Bad Request

$ steampipe query --workspace myorg/myworkspace
Welcome to Steampipe v0.20.0-rc.1
For more information, type .help
> 
Error: 400 Bad Request

Steampipe version (steampipe -v)
Steampipe v0.20.0-rc.1

To reproduce
connect to steampipe (e.g. steampipe query --workspace myorg/myworkspace) when your sptt token has expired

Expected behavior
The error message should be informative, stating that the token has expired, or that it is invalid, and should prompt you to run steampipe login again

Additional context
Add any other context about the problem here.

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
2 participants