Metadata Import Error for Tracker

I’m currently getting this error when I run a metadata import (test and production are both DHIS2 version 2.35.13): Process failed: org.hibernate.exception.ConstraintViolationException: could not execute statement

FYI: When doing a dry run it completes without an error and creates the desired metadata objects (categories, data elements, data sets, option sets and etc).

Hi @Clara,

Thank you for your patience! Sorry for taking this long too! I found a similar post which had a similar issue and the problem was the the user importing didn’t have the necessary sharing settings. Would you please check that all sharing settings are configured properly?

See similar post: WHO HIV case surveillance Tracker package - Problem importing three of the dashboards

It might also help to check if there are any errors in the Catalina.log file - please share if there’s (without sensitive info). Does importing this into any of the instances fail as well? :+1::+1:

Thank you @Clara! :slightly_smiling_face: