Sync Errors with Mandatory attributes on Android

Hi,

Users have got the following type of errors concerning attributes that have been set as compulsory in the registration form in tracker, and is this happening with several the devices. The fields are correctly filled.

it is a headache because the error prevents users from syncing the data.

We are looking for possible solutions to this problem.

DHIS 2 version: 2.41.2

Android app version: 3.1.0.1

Thanks

Hi Maposse,

let’s try troubleshooting the problem

First make sure the device has the latest update from the server, please make sure to “Sync Configuration” on DHIS2 android setting.

Secondly make sure that the attribute ‘Fyw…’ id is have correct value , and make sure that there is a no program rule for the attribute.

please do this and let me know.

1 Like

hi @fernando
I once faced the same issue. The problem might stem from the way you defined your Tracked Entity Type. If you declared some Tracked Entity Type attributes when you created the Tracked Entity Type and then assigned that Tracked Entity Type to a program, all the attributes declared during the creation of the Tracked Entity Type must also be included as attributes in the program and configured accordingly.

For instance, if you created a Tracked Entity Type called ‘Person’ with an attribute ‘First Name’ as a mandatory field, then when you create a tracker program of type ‘Person,’ the ‘First Name’ attribute must also be included and set as mandatory.

In your case, please check the attribute “FywCaEpxIZ9” is available both in the tracked entity type attributes and in the program attributes as a mandatory field.

I hope this will solve the problem, please give feedback

2 Likes