Skip to content

Provide more info for the AuthenticationError #432

@RobertIndie

Description

@RobertIndie

The Node.js client throws an error when an authentication problem occurs:

node:internal/process/promises:391
  triggerUncaughtException(err, true /* fromPromise */);
  ^
[Error: Failed to create producer: AuthenticationError]

However, this error message lacks useful details. For example, it does not specify if the issue is related to the network connection to the issuer (for OAuth2), a file not being found, or another cause. It would be better to provide more specific information for this error.

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