Issue downloading TEIs onto Android

Some Android Data Capture User are unable to download TEIs that were referred permanently from another Org Unit.
Downloading works for the Admin User, but not for the relevant community service provider

Kindly advise.

Hi @ejkinsey . Could you check the error log on the main screen to see if you get more information?

1 Like

[{ā€œcreationDateā€:ā€œJul 14, 2021 11:44:01ā€,ā€œerrorCodeā€:ā€œ409ā€,ā€œerrorComponentā€:ā€œServerā€,ā€œerrorDescriptionā€:ā€œAPI call threw HttpExceptionā€,ā€œisSelectedā€:true},

Hey @ejkinsey . Is there a chance you could share credentials if that is a testing server? I am not sure how to reproduce the issue on my testing environment.

1 Like

Hi Jaime,
I am hoping @sele can assist as he is hosting the domain. This is a live production instance, and we continue to experience this issue for the two community service providers to whom we referred TEIs to their org units.

1 Like

Ok, let’s wait for @sele . In any case, are you referring the TEI from the web version and then in Android you cannot download? Or are they referrals from another device, sync, and then a third device cannot download them?

1 Like

Hi Jaime, Unfortunately, we’ve not yet managed to resolve the issue.
The TEIs were registered by the mobile users (community service providers) on their devices in org units that were shared across multiple users.
We then created new org units and separated the users between them, so as not to have overlapping coverage.
Then we completed the referrals on the web version for the TEIs.
The users are not able to download the TEIs data to their devices.
They are able to register new TEIs and enter data

Hi @ejkinsey , do you have a testing environment where we could reproduce this? Feel free to share those credentials via PM so I can dig further.

Cheers.

1 Like

Hey @ejkinsey I wonder if you were able to resolve the issue! I’m sure the community would benefit from your experience and solutions! :pray: Thank you!

@binamour successfully resolved the issue. I will encourage him to respond.

2 Likes

Hi Elliot, how did you solve this? we are experiencing the same issue

1 Like

Hi @Don_Vieira,

How did you resolve this issue, as I’m encountering the same problem.

regards

Hi @dhis2-tracker @Gassim,

I need some urgent assistance with this issue, if you could help.
On the android app, I find in the Sync error log the following:

{"creationDate":"Jun 14, 2024 15:42:36","errorCode":"400","errorComponent":"Server","errorDescription":"API call threw HttpException","isSelected":true}

I obtained the server logs, and the dhis2-data-sync log says:

* INFO  2024-06-14T16:10:22,604 Remote server URL not set (SyncUtils.java [tomcat-http-5])

In System Settings, I see Synchronization section (with Remote server url, username, password fields) which I did not think has to be configured for the DHIS2 android capture to be able to download data from the server. This has not been the case for previous dhis2 systems I worked on.

Does anyone know why this is happening? I’d appreciate your help.

Thank you!

Another interesting thing i’m seeing on the capture app is this kind of ā€˜disabled download’ symbol on app as below: