Capture app Synchronization Issue

Dear all,
I have an instance of DHIS2 running on version 2.35.1 and the android capture app is running on version 2.51 but the app is not syncing with the server and it is giving the error shown below:
Cause: Something unexpected went worng.

Exception: java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of$Builder, problem: Missing required properties: expression description
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 1, column: 20377] (through reference chain:[“validationRules”]->java.util.ArrayList[17]->$$AutoValue_ValidationRule$Builder[“rightSide”])

Created: Wed Mar 16 10:05:40 GMT 2022

Error component: Server


From the log, I notice it has to do with a validation rule but already checked all of them they are OK. The one on the form itself is showing the error attached to

this comment

Hi @Gerald_Thomas,

it seems that there is a validationRule whose rightSide has an empty expression or description. You can run this query on your browser replacing your server url and verify if there is any validation rule with an empty expression or description in the rightSide.


Hope it helps


Thanks very much, Victor. This works for me

1 Like