Syntax problem with the analytics request

Screenshot 2024-08-18 122923
Hi,
Recently, I’ve been facing an error while visualizing program indicators in the data visualizer app. These program indicators are built using event data imported via the API. The data appears perfectly fine in the Tracker Capture app, and I’ve also run the Analytics table, but nothing seems to work. What could be the possible cause of this error?

In the program indicator:
edit expression: v{event_count}
filter expression: isNotNull{#dataElementName}

Error in the event visualizer app:
Screenshot 2024-08-18 131537

Hi @Shubham

Let’s start with checking if the issue could be resolved by clearing browser and server cache.

First, using your browser’s Guest mode ( Browse Chrome as a guest - Computer - Google Chrome Help) please go to the Data Administration app → Maintenance, select Clear application cache and reload apps. Check if restarting the instance helps and then try again.

Second, if the above doesn’t work then we will need to debug the issue and see if we can reproduce it in any of the play.dhis2.org instances, and this will require more information about the setup and configuration such as the DHIS2 version of the instance you are using and the version of the Capture app as well as more detailed error logs from the Network tab (DevTools F12) and the Catalina.out log.

Please report back so we can continue the debugging.

Thanks!

Thankyou @Gassim tried the first option, didnt work. Will update once we try the second option.

1 Like