-
Notifications
You must be signed in to change notification settings - Fork 919
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
[BUG] OSD returns HTTP 500 internal server error messages when the wrapping key is changed #2210
Comments
More context - When we use random keyring to decrypt the message, an exception will throw with error message This exception is caught in the described situation. |
Issue - Internal server error after expection throw Procedure to reproduce -
|
Proposed solution - Add error handling logic and toast/other alert UX on everywhere integrated with new data source client. and |
@noCharger Thanks for the investigation Since the correct 400 error is thrown by
There are 2 approaches we can solve this.
As for the UI/UX side change, not sure if for 400 it already has some UI popup there, you can look into it. |
OSD returns HTTP 500 internal server error messages when the wrapping key is changed and the service is unable to decrypt the credentials. When the user does not update the credentials and attempts to create a new index pattern, the calls to the target endpoint fails and return HTTP 500 errors. A generic error message is returned in response.
The recommendation will be to return an error message or at least a suggestion to the user asking to verify if the credentials have been updated post changes to the wrapping key.
The text was updated successfully, but these errors were encountered: