You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if a groups is not existing or cannot be found, get_groups_by_path raises an exception.
I inspected the code for this and I was able to find a turn around introducing the possible return codes as acceptable result:
Module keycloak_admin.py, line 1413:
Instead of:
"return raise_error_from_response(data_raw, KeycloakGetError)"
I replaced with:
"return raise_error_from_response(data_raw, KeycloakGetError, [200, 404] )"
It works, but I would like to know if there are better solutions.
The text was updated successfully, but these errors were encountered:
if a groups is not existing or cannot be found, get_groups_by_path raises an exception.
I inspected the code for this and I was able to find a turn around introducing the possible return codes as acceptable result:
Module keycloak_admin.py, line 1413:
Instead of:
"return raise_error_from_response(data_raw, KeycloakGetError)"
I replaced with:
"return raise_error_from_response(data_raw, KeycloakGetError, [200, 404] )"
It works, but I would like to know if there are better solutions.
The text was updated successfully, but these errors were encountered: