dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #45358
User Module - Error deleting user
Hi all,
when trying to delete an user using API, DELETE -
http://localhost:8085/api/users/zTsuPZnHqaO I'm getting a 500 - Internal
Error with
Request processing failed; nested exception is
org.springframework.dao.DataIntegrityViolationException: could not execute
statement; SQL [n/a]; constraint [fk6a68e08f19893da]; nested exception is
org.hibernate.exception.ConstraintViolationException: could not execute
statement
is this expected? Should I make a different call before delete the User? It
works fine when deleting in Web UI.
Best regards,
Paulo
Follow ups