[keycloak-user] Duplicate entry for key

Corentin Dupont corentin.dupont at gmail.com
Mon Jul 29 08:33:44 EDT 2019


Dear all,
I often have this error:
keycloak_1_c37c1c45aa45 | 12:28:02,524 ERROR
[org.keycloak.services.error.KeycloakErrorHandler] (default task-10)
Uncaught server error: org.keycloak.models.ModelDuplicateException:
javax.persistence.PersistenceException:
org.hibernate.exception.ConstraintViolationException: could not execute
statement
...
keycloak_1_c37c1c45aa45 | Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Duplicate entry
'GW1-d9d54300-3791-443c-884c-0c52c43d64db-0892e431-5daf-413e-b4cf' for key
'UK_FRSR6T700S9V50BU18WS5HA6'

For instance, I have this error when trying to create a resource.
What does it mean? How to solve it?
Thanks
Corentin


More information about the keycloak-user mailing list