Organisation unit import

hello community,

i want to import organisation unit i created a csv file of which i included in the parent uid but while importing it am getting this error “Id tL0aYQo0gsa for type class org.hisp.dhis.organisationunit.OrganisationUnit exists on more than 1 object in the payload, removing all but the first found.” could anyone help me this error.
NESA organisation unit (2).csv (174 Bytes)

Hello @mugisha_alain
You can use this CSV template for OrgUnit Import. I think there is a mistake in the header name.
Import_OrgUnit_Sample.csv (126.2 KB)

i tried to use this file sample and now am getting this error " Invalid reference [xGiudRiL4cm] (OrganisationUnit) on object Gacurabwenge [k6nZZHwd6F2] (OrganisationUnit) for association parent.
Import_OrgUnit_Sample (1).csv (126.5 KB)
"

Hi @mugisha_alain

The object Gacurabwenge is exist twice is in the sample file

It would help if you created Root OrgUnit manually, and after that, try to import your OrgUnits by CSV.