Capture App Error: The application could not be loaded. Please see log for details

The capture app has been working fine until it just started showing the error: “The application could not be loaded. Please see log for details.” The version is 2.39.4.1.

I have read some past community posts but none were conclusive. I have attached screenshots from the Data integrity check (there were some cat combo issues which I have since solved, cleared cache and reload apps) and the network tabs (I don’t know what I’m looking for here, everything seemed fine).


Screenshot 2024-08-05 115419
Screenshot 2024-08-05 115406

Hi @dauntless. Could you check the console tab of your browser when you load the app? There should hopefully be more details about what specific error is causing the app to not load.

1 Like

Hello Thomas, thank you so much for your response. I checked the console and I saw what the issue could potentially be. We did some data importation with the Data Import App for some event programs, and I think something in the metadata broke the app. I’m trying to identify which specific event it could be, then maybe I could delete the data and event program itself.

Any advise you have here would be greatly appreciated.

Screenshot 2024-08-07 122617

Did you manage to solve the issue? We have faced similar issues and sometimes this is related with old metadata or strange configuration.

No Carlos. I can’t seem to pinpoint the issue here. I will appreciate if you help with more specific actions to take. Thank you

@dauntless are you a superuser in that dhis2 instance?
Can you share a screenshot of the javascript code that failed?

1 Like

Thank you @ctejo, here is the screenshot:

@dauntless are you a superuser in that dhis2 instance?

Is the dhis2 instance quite new or when did it started ?

It will be really difficult to debug only with that information. Can you share something else from the error in the console ?

Hi Carlos, I sent you an email on this.