DHIS2 android application error during data entry, Data entry from DHIS2 android application gives error it does not send value to the server while everything looks good.
If you click only in one of those you should get a more descriptive error. Could you please do so and paste here? You might also find some information in the Settings > Open sync error log:
Hi @janagha . Sorry for the late response, I missed the notification.
Uhmmm, I would assume your metadata has changed and this is causing the issue. I see, however, that your metadata is up to date (by the second screenshot where I see that the last sync was on the 2023-02-09), if you would set up a new phone, can you edit one DataSet and try to send? Do you get the same error? Can you see the DataSet? Could you please try?
I am thinking if you might have removed some permissions from a specific dataelement in the dataset, or any subelement (category, categoryoption, etc) or even the DataSet.
Also pinging @vgarciabnz as he might be able to know a bit more by the error what’s going on.
Submitting dataset level in first picture it shows data submitted to server but there is no data in server side and sync sign on dataset level is still red, and in second picture month data submission synchronization is still the same.
I have been looking into this issue but I am not sure about the cause yet. Just to discard possible causes, could you try to logout the Android app, login again and then sync? Let me know if it makes any difference.
We are using DHIS2 version 2.36.10.1, I think the problem is between DHIS2 android application and datasets, the application is not able to find correct datasets to sync values between application and datasets, our DHIS2 instance server administration is the responsibility of our webhosting company.
Hello, @janagha . Is there a chance you could provide access to a testing server where this is happening ? We will need URL and user/password, ideally you should be able to mount the DB in a testing server. Please, provide those via private message.
I will connect and try to see what’s going on with the App.
Thank you so much and millions thanks for your untiring support and assistance, the good news is we have solved the error according to your instructions, yes the flag you indicated in system setting> data import (require data elements to be part of data set) was in use, i disabled this option and it gave results, after testing DHIS2 android application synchronizes daily period data, monthly period data as well as data sets and pushes data to the server (i also checked data on server side it is ok).
Once again thank you Jaime Bosque for your outstanding efforts to troubleshoot this error and hope for the continuous support beyond.
Attached is the updated DHIS2 android application synchronization picture.