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

Status code when attempting to create an identity that already exists #92

Open
nguyer opened this issue Jul 6, 2022 · 0 comments
Open

Comments

@nguyer
Copy link
Contributor

nguyer commented Jul 6, 2022

When starting a FireFly stack using a pre-existing Fabric network, the org name was already registered (from a previous failed run of the FireFly CLI). Fabconnect returns an HTTP 500 which causes the CLI to exit.

Error: http://127.0.0.1:5102/identities [500] {"error":"failed to register user: failed to register user: Response from server: Error Code: 74 - Identity 'org_0' is already registered\n"}

Because this is not the fault of Fabconnect, and repeatedly sending this request will not have a different result, I do not think 500 is the correct status code here. Perhaps 409? Open to input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant