Importing metadata- data element

I tired to import data element metadata. the file i wanted to import is CSV format. I have done dry run first and then clicked start import. It keeps bringing this error- No enum constant org.hisp.dhis.common.ValueType.Text. what should I do?

Hi Blen,

More sufficient information is require to understand the cause of the issue because it could be for many reasons. Please share the template for the data element metadata so it’s possible to test and see on play.dhis2.org why it’s not importing.

Thanks!

It worked. thanks

1 Like

Thank you for letting us know! Would you like to share what solved the issue so that it is helpful for other community members if they face the same issue? :slight_smile:

This is caused when there is the same name in the dhis2 and when trying to import data elements with the same name.

1 Like

Good, thanks for the sharing the solution! Now if someone else sees this error, this will be one of the things to check for. :pray: