-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
rebar3 hex user whoami fails with unknown error #345
Comments
Thanks for opening the issue. Are you positive you are on 7.0.8? I'm unable to reproduce. Additionally, the command is |
Sorry, yeah, (I've updated the issue title)
OK, so...
Pretty sure, yeah:
Also this, for completeness:
|
Thanks @rlipscombe Did you edit out the username and email from the response before putting it on here? Quite understandable if you did, however my thought atm, and assuming you're definitely on 7.0.8, is for some reason these two bits of information are not being returned (which would be odd). We match on these fields, if they are not present, then we raise (like you're seeing). |
Well, there's your problem: All of my email addresses (there are two attached to the account) are set to private. I also have "Don't show a public email address" set on the main profile page, in case that also triggers the behaviour. The username is in the response, but there's no email address in there. |
That's interesting, I've always expected it to return the email address etc since "your" the one querying it, but I suppose that is not the case. Will get a PR open soon. |
rebar3 v3.24.0, rebar3_hex v7.0.8
Running
rebar3 hex auth whoami
fails withAn unknown error was encountered. Run with DIAGNOSTIC=1 for more details.
Running with
DIAGNOSTIC=1
reports the following:The text was updated successfully, but these errors were encountered: