Hi Everyone
I am getting an error message on a tracker application which has 2 stages Registration and Followup. The error message is flushing when viewing an a tracked entity enrolment details. I’m using DHIS2 version 2.39.
Hi @tinzulu
First, let’s figure out if this is a cache issue or not:
- Go to Data Administration app → Maintenance → select ‘Clear application cache’ and ‘reload apps’
- Using your browser’s Guest mode, repeat the steps
If the issue still happens, let’s see if we can use the Browser’s DevTools to debug the issue:
- Login again in your browser’s Guest mode
- Continue the task normally until right before the error occurs (when you try to view enrollment details?), before that error appears, click F12 in your keyboard to open the DevTools, select Network and in the right side options, select Show Console Drawer . Now we have both, Network and Console.
- Now the final step where the error appears “No program exist for the selected org unit. Enrolment not possible”, please check the Response as well as Request for the API requests under the Network tab, and see if you could get more details from the errors in the Console.
Additionally, which app are you using, is it Tracker Capture app or Capture app? Would you by any chance able to reproduce this issue in play.dhis2.org?
Finally, see if you could get more details about this issue. Is this issue specifically for certain users, enrollments, TEIs, OUs, programs…etc? For example, did you try using a user with ALL role?
Thanks!
Thanks @Gassim
The error is flashing for a user with ALL role. Enrolment and capturing is working normally even if the errors shows up. I will try to reproduce the errors for further deep dive