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

Non descript error message on failed account creation #709

Closed
chuysmans opened this issue Oct 16, 2020 · 3 comments
Closed

Non descript error message on failed account creation #709

chuysmans opened this issue Oct 16, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@chuysmans
Copy link

Describe the bug
When creating an account via the UI, its not apparent that the username must be all lowercase. The bug is the fact that the returned error via the UI doesn't describe this at all:

The adapter operation failed due to a server error

To Reproduce
Steps to reproduce the behavior:

  1. Connect to Boundary via the UI
  2. Auth Method -> userpass -> Create Account
  3. Capitalise the username field and observe the error

Expected behavior
If you run the same command via the CLI the returned error is much more descriptive.

Oct 16 03:15:40 ip-10-0-101-209 boundary[1295]: 2020-10-16T03:15:40.383Z [ERROR] controller: internal error returned: error id=WfbRQxeQdl error="unable to create user: create: password account: invalid login name; must be all-lowercase alphanumeric: invalid parameter"

This same error message should be surfaced in the UI.

Additional context
Add any other context about the problem here.

@pbernal pbernal added the bug Something isn't working label Oct 16, 2020
@jefferai
Copy link
Member

We're working on revamping a lot of the errors for the next release, which should help here.

@talanknight
Copy link
Collaborator

Hi, I just wanted to follow up since it's been 2 weeks since the last comment. We are actively working on this issue and we hope to have a resolution soon. Thank you for submitting this issue!

@covetocove
Copy link
Contributor

Closing this issue out.

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

5 participants