I’m facing an issue using the Bulk Load app on DHIS2 (version 2.40.5).
I used the app’s own template export (via “Download template”) for the my program, without modifying column headers.
I filled in 2 lines of test data to make the import light and simple.
I selected an organisation unit and launched the import.
The system gets stuck on “Data import in progress…” and never completes, even after several minutes.
In the browser’s network tab (XHR), I can see trackedEntity UIDs being generated, so the backend is processing something. But the UI never finishes or gives feedback.
Has anyone experienced this with the Bulk Load app?
Is there a known fix or workaround for this kind of freeze during import?
Thanks for the step by step post… are you able to reproduce this issue in any of the play instances? Would you share what these 2 lines of test data are?
Unfortunately, I’m not able to reproduce this on the play instances because I don’t have admin access to install or update the Bulk Load app there. That’s why I’ve only been able to test it within my own DHIS2 instance.
@Abumere_Ejakhegbe; Yes, I already tried that — I reduced the file to only 2 lines of data, with just the essential columns (Org Unit, Enrollment Date, and a few attributes). Unfortunately, the issue still persists in the same way: the import gets stuck on “Data import in progress…” and never completes.
So it doesn’t seem to be related to the size or timeout from the frontend side.
Aside from providing the full har, that would help see what the error may be coming from, could you try exporting and importing from a different tracker program? maybe create a minimal test program to do the test?
I tried installing and opening the Bulk Load app on the play.dhis2.org demo instance (v2.40.7), but unfortunately, when I open the app, I get the following error:
“There are pending migrations (from version 0 to 1)… Only a user with authority ALL can run this migration…”
Since I don’t have admin rights on the play instance, I’m unable to complete the migration and therefore can’t run any tests using Bulk Load there.
That’s why I’ve only been able to test within my own instance, where the import still gets stuck even with just 2 lines of test data. I’ll look into creating a minimal tracker program locally as you suggested and will share results shortly.
Yes, I’ve checked the Network tab in the browser’s DevTools (F12 → Network).
As you can see in the screenshot below, the system does send multiple requests to create trackedEntity records — the responses include the generated UIDs. However, the interface remains stuck on “Importation de données en cours…” and never proceeds to completion.
I’ve also attached the screenshot from the Network tab showing those requests and responses.
Let me know if you also need the Console tab output or a full HAR file.
Hi @elmoujarrade thanks for your screenshots. You can upload your har file if there is no private information there. You could also try to make the same steps in a simplified tracker program. To see if the issue is between bulk load and this particular server or bulk load and this program
As requested, I’ve attached the HAR file generated during the Bulk Load import process.
I reproduced the issue (stuck on “Importation de données en cours…”) and exported the network activity using DevTools (F12 → Network → Copy all as HAR). I’ve checked the content and made sure it doesn’t contain any sensitive information.
Let me know if anything else is needed to help diagnose the issue.
I’ve reviewed the HAR file as requested.
All HTTP requests sent during the Bulk Load import return valid responses — either 200 OK or 304 Not Modified.
There are no 4xx or 5xx errors observed in the entire log.
This suggests that the issue is not server-related, but rather happening in the frontend logic of the Bulk Load app. The UI seems to hang after the trackedEntity creation requests, without moving to the next step or showing an error.
Let me know if you need me to test with a minimal tracker program or anything else.
After several attempts with Bulk Load and Data Import Wizard, I realize that I need to deepen my understanding of these tools — especially regarding correct file structures, mappings, and error handling.
I would like to know if there are any available trainings (on-site or remote) to help me:
Properly use Bulk Load and other import tools
Understand best practices for structured imports (TEI, enrollment, event)
Troubleshoot common issues with formats, mapping, and feedback logs
If there’s any official course, video series, community-driven tutorial, or even a webinar that I could join — I’d really appreciate it.