← Back to team overview

dhis2-users team mailing list archive

Re: CSV-Import of Organisation unit

 

Hi Diao,

You must use the format specified here for CSV.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/ch01s10.html

The column order is what is important, not the header. That would explain
the error. Please reformat your file according to the specification, and
try again. You must provide blank fields if you do not have the values.


Regards,
Jason


On Mon, Jun 6, 2016 at 4:35 PM, Diao Diallo <diao_diallo@xxxxxxxxxx> wrote:

> Please find attached a simple file.
>
> Regards.
>
> Diao
>
> On Mon, Jun 6, 2016 at 2:10 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>
>> Hi Diao,
>>
>> Can you post this line in the CSV file also? Or perhaps the whole file if
>> it is not too big.
>>
>> Perhaps you have some trailing spaces or funny characters for this OU?
>>
>> Knut
>>
>> On Mon, Jun 6, 2016 at 4:06 PM, Diao Diallo <diao_diallo@xxxxxxxxxx>
>> wrote:
>>
>>> Dear all,
>>>
>>> When importing my facilies and their cordonates in my DHIS2, i encounter
>>> this error :
>>>
>>> *OrganisationUnit* *Infirmerie Militaire de Almamiya 1*
>>> *Validation Violations: [ValidationViolation{property='uuid',
>>> message='Allowed range for length [36, 36], length is 12',
>>> value=-14.03008255}]*
>>>
>>> I need your ideas.
>>>
>>> I have *OS :* *Ubuntu DHIS2 version :* 2.22
>>>
>>> Best regards.
>>>
>>> Diao
>>> --
>>> *DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District
>>> Health Information Software )*
>>> *MEASURE Evaluation | JSI*
>>> *PHONE : 623909413 | 662256106*
>>> *SKYPE : diawwdiallo*
>>> www.jsi.com
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
>
> --
> *DIALLO MAMADOU DIAO CONSEILLER IT, SPECIALISTE DE DHIS 2 **( District
> Health Information Software )*
> *MEASURE Evaluation | JSI*
> *PHONE : 623909413 | 662256106*
> *SKYPE : diawwdiallo*
> www.jsi.com
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

References