-
Notifications
You must be signed in to change notification settings - Fork 1
[Bug] Adduser script throws errors in CI #126
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
1. Bug
What - Describe the bug
Errors in CI logs from build.py "add test users" phase.
What I expected to happen
No errors in logs
What happened instead
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/rasenmaeher_api/kchelpers.py", line 222, in update_kc_user
await self.kcadmin.a_update_user(user.kc_id, send_payload)
File "/usr/local/lib/python3.11/site-packages/keycloak/keycloak_admin.py", line 4977, in a_update_user
return raise_error_from_response(data_raw, KeycloakPutError, expected_codes=[204])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/keycloak/exceptions.py", line 192, in raise_error_from_response
raise error(
keycloak.exceptions.KeycloakPutError: 400: b'{"errors":[{"field":"modifyTimestamp","errorMessage":"updateReadOnlyAttributesRejectedMessage","params":["modifyTimestamp"]},{"field":"createTimestamp","errorMessage":"updateReadOnlyAttributesRejectedMessage","params":["createTimestamp"]}]}'
The integrations tests (test_cert_bundle) do pass.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working