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

Missing error details when enrollment URL is invalid #255

Open
romanstrobl opened this issue Oct 24, 2022 · 1 comment
Open

Missing error details when enrollment URL is invalid #255

romanstrobl opened this issue Oct 24, 2022 · 1 comment
Assignees
Labels

Comments

@romanstrobl
Copy link
Member

The cause of error is not printed out in case enrollment URL is invalid (invalid protocol, port, etc.).

The error is:

    {
      "id" : "activation-create-error-generic",
      "status" : "ERROR",
      "object" : {
        "stackTrace" : [
          {
            "methodName" : "callServer",
            "fileName" : "AbstractBaseStep.java",
            "lineNumber" : 336,
            "className" : "io.getlime.security.powerauth.lib.cmd.steps.AbstractBaseStep",
            "nativeMethod" : false
          },
          {
            "methodName" : "execute",
            "fileName" : "AbstractBaseStep.java",
            "lineNumber" : 148,
            "className" : "io.getlime.security.powerauth.lib.cmd.steps.AbstractBaseStep",
            "nativeMethod" : false
          },
...

We should provide more details.

@romanstrobl romanstrobl self-assigned this Oct 24, 2022
@romanstrobl
Copy link
Member Author

The error is also hidden in case of a 302 response.

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

No branches or pull requests

1 participant