DHIS2 ver 2.34.5 server failing to complete synch to DHIS2 Capture Andriod App 2.2.2 to 2.4.2

Cause: Unexpected exception

Exception: java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of org.hisp.dhis.android.core.validation.AutoValue_ValidationRuleExpression$Builder, problem: Missing required properties: missingValueStrategy
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 15420] (through reference chain: org.hisp.dhis.android.core.arch.api.payload.internal.Payload[“validationRules”]->java.util.ArrayList[13]->org.hisp.dhis.android.core.validation.$$AutoValue_ValidationRule$Builder[“rightSide”])

Created: Tue Jul 06 06:27:54 GMT+02:00 2021

Error component: Server

StackTrace: org.hisp.dhis.android.core.maintenance.AutoValue_D2Error

@manhize, welcome to the community!

@dhis2-android could it be because of program rules that don’t work on android but work on web? i.e. IMPORTANT: REVIEW your Program Rules before updating to Android 2.2 in production

Would it cause a problem syncing? :thinking:

HI @manhize , do you get this error while performing a full sync or a granular sync (a single TEI). Have you made changes on your metadata and you have not synced the metadata first? Can you try creating a new TEI and syncing only that TEI to see if the error persists?

Thanks.

1 Like