← Back to team overview

dhis2-users team mailing list archive

error create trackedentityinstance via webAPI

 

Hi All DHIS2 dev, 

I has one field attribute using “yes only Type” and then I import using webAPI to import value with “true” value. I got the error:



{"status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},"conflicts":[{"object":"Attribute.value","value":"Value is not true (true-only value type) for attribute: Attribute{displayName='null', attribute='dYjtlUZuIx6', type='null', code='null', value='true'}"}]}


thank you

channara