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

Un-friendly error message for Fail Import option in keycloak GUI #28017

Open
pravsjv opened this issue Mar 18, 2024 · 3 comments
Open

Un-friendly error message for Fail Import option in keycloak GUI #28017

pravsjv opened this issue Mar 18, 2024 · 3 comments

Comments

@pravsjv
Copy link
Contributor

pravsjv commented Mar 18, 2024

Description

Need improvement in error message in the attached screen.

Step1:
Go to Realm settings -> click Action -> choose Partial export -> change Include groups and roles, Include clients to On -> click Export button -> realm json file is generated -> OK

Screen Shot 2024-03-18 at 12 24 07 PM

Step 2.
Go to Realm settings -> click Action -> choose Partial import -> click Browse button -> choose realm json file is generated in the step 1 -> Choose all the resources you want to import

Step3:
If pick ‘If a resource already exists, specify what should be done’ field = “Fail import” value -> click Import button

Actual : Display error message as below: ‘ Import failed: HTTP 500 Internal Server Error’

Screen Shot 2024-03-18 at 12 24 52 PM

Discussion

No response

Motivation

Better excpetion/alert message gives us more clarity of what the issue instead of a generic message.

Details

No response

@jonkoops
Copy link
Contributor

@pravsjv just to confirm, what is the Keycloak version this is happening in?

@pravsjv
Copy link
Contributor Author

pravsjv commented Apr 29, 2024

@jonkoops Keycloak 21.1.2

@jonkoops
Copy link
Contributor

We no longer support that version, could you try on the latest Keycloak version and see if it works. This might be a but that is already fixed.

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

No branches or pull requests

2 participants