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

up login with invalid credentials return "unable to parse session cookie" message #281

Open
jeringk opened this issue Nov 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jeringk
Copy link

jeringk commented Nov 16, 2022

What happened?

I tried to login using up with invalid credentials and got below error.

./up login
Username: <username>
Password: <wrong password>
up: error: unable to login: unable to parse session cookie: {"message":"Unauthorized"}

Even though up says its unable to login, the message unable to parse session cookie feels like a bug in cli.

Expected Behaviour:

./up login
Username: <username>
Password: <wrong password>
up: error: unable to login: {"message":"Unauthorized"}

Epic #

How can we reproduce it?

Mentioned in What Happened

What environment did it happen in?

@jeringk jeringk added the bug Something isn't working label Nov 16, 2022
@hasheddan hasheddan self-assigned this Nov 17, 2022
@hasheddan
Copy link
Contributor

Thanks for this report @jeringk! Agree this error message is not helpful to the user and should be updated 👍🏻

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