Skip to content

Bug: Error handling is unclear when account creation fails #231

@toils-elixir

Description

@toils-elixir

Describe the bug

When creating a new account using the Base Account SDK, the error messages aren’t very clear. It’s hard to understand exactly what went wrong, which makes troubleshooting frustrating. The error could be caused by missing information, invalid input, or something else, but it’s not easy to tell from the message

Steps

  1. Try creating an account using the SDK with incomplete or invalid information.
  2. The SDK throws an error, but the message doesn’t explain what’s wrong.
  3. Troubleshoot to figure out what needs to be fixed.

Expected behavior

The SDK should provide a clear and detailed error message that explains what went wrong during account creation.

Version

No response

Additional info

Improve the error handling to give more specific feedback on what caused the failure. For example, if a required field is missing or the data format is wrong, the error should point that out clearly

Desktop

Tested on macOS using Node.js LTS during local development

Smartphone

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions