Indicator: Numerator and Denominator objects not found.

Dear Dhis2 users,

I recently imported a few indicators using an API. When I check the indicator numerator from the maintenance, it shows the data element description and ID but no valid object found. I suspect this could be a problem with my metadata version. If so, how do I ensure I get the right version of data elements metadata?

Thank you.

···

==========================
Isaiah Nyabuto
+254729572616
Bsc. Health Records Management and Informatics

Hi Isaiah,
The uid showing on the screen should be that of the data element (please check that it is correct). Also it should be enclosed in the chars as shown #{uid}.

rgds

David

···

On Fri, 16 Mar 2018, 08:11 Isaiah Nyabuto, isaiahnyabuto@gmail.com wrote:

Dear Dhis2 users,

I recently imported a few indicators using an API. When I check the indicator numerator from the maintenance, it shows the data element description and ID but no valid object found. I suspect this could be a problem with my metadata version. If so, how do I ensure I get the right version of data elements metadata?

Thank you.

==========================
Isaiah Nyabuto
+254729572616
Bsc. Health Records Management and Informatics


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi David:

Thank you. I can see that. Firstly I discovered that the numerators and denominators data elements uids are not existing in my database. Is there a way I can filter metadata by the date it was last updated?

Thank you

···

On Fri, Mar 16, 2018 at 12:23 PM, David Muturi dnmuturi@gmail.com wrote:

Hi Isaiah,
The uid showing on the screen should be that of the data element (please check that it is correct). Also it should be enclosed in the chars as shown #{uid}.

rgds

David

On Fri, 16 Mar 2018, 08:11 Isaiah Nyabuto, isaiahnyabuto@gmail.com wrote:

Dear Dhis2 users,

I recently imported a few indicators using an API. When I check the indicator numerator from the maintenance, it shows the data element description and ID but no valid object found. I suspect this could be a problem with my metadata version. If so, how do I ensure I get the right version of data elements metadata?

Thank you.

==========================
Isaiah Nyabuto
+254729572616
Bsc. Health Records Management and Informatics


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Isaiah Nyabuto
+254 729 572 616

Bsc. Health Records Management & Informatics, JKUAT.

Hi Isaiah,

very likely you have exported and then imported indicators without including the data elements part of your indicator expressions.

Currently we have a set of options under “metadata export with dependencies” (see Import-export app), but we don’t support indicators with related metadata yet. It would be good to support that.

I the mean time you need to import your data elements manually as well.

regards,

Lars

···

On 16 March 2018 at 12:27, Isaiah Nyabuto isaiahnyabuto@gmail.com wrote:

Hi David:

Thank you. I can see that. Firstly I discovered that the numerators and denominators data elements uids are not existing in my database. Is there a way I can filter metadata by the date it was last updated?

Thank you


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Fri, Mar 16, 2018 at 12:23 PM, David Muturi dnmuturi@gmail.com wrote:

Hi Isaiah,
The uid showing on the screen should be that of the data element (please check that it is correct). Also it should be enclosed in the chars as shown #{uid}.

rgds

David

On Fri, 16 Mar 2018, 08:11 Isaiah Nyabuto, isaiahnyabuto@gmail.com wrote:

Dear Dhis2 users,

I recently imported a few indicators using an API. When I check the indicator numerator from the maintenance, it shows the data element description and ID but no valid object found. I suspect this could be a problem with my metadata version. If so, how do I ensure I get the right version of data elements metadata?

Thank you.

==========================
Isaiah Nyabuto
+254729572616
Bsc. Health Records Management and Informatics


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Isaiah Nyabuto
+254 729 572 616

Bsc. Health Records Management & Informatics, JKUAT.

Lars Helge Øverland

Technical lead, DHIS 2

University of Oslo

lars@dhis2.org

https://www.dhis2.org

Hi Lars,

Agreed. I imported data elements metadata but yet still, some are not mapped in the indicators.

I resorted to manually pointing the indicator related data elements to the correct source. This could be a very tedious process if I had so many indicators. I believe there could a better way of doing it.

Thank you

···

On Mar 16, 2018 18:27, “Lars Helge Øverland” lars@dhis2.org wrote:

Hi Isaiah,

very likely you have exported and then imported indicators without including the data elements part of your indicator expressions.

Currently we have a set of options under “metadata export with dependencies” (see Import-export app), but we don’t support indicators with related metadata yet. It would be good to support that.

I the mean time you need to import your data elements manually as well.

regards,

Lars

On 16 March 2018 at 12:27, Isaiah Nyabuto isaiahnyabuto@gmail.com wrote:

Hi David:

Thank you. I can see that. Firstly I discovered that the numerators and denominators data elements uids are not existing in my database. Is there a way I can filter metadata by the date it was last updated?

Thank you


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Technical lead, DHIS 2

University of Oslo

lars@dhis2.org

https://www.dhis2.org

On Fri, Mar 16, 2018 at 12:23 PM, David Muturi dnmuturi@gmail.com wrote:

Hi Isaiah,
The uid showing on the screen should be that of the data element (please check that it is correct). Also it should be enclosed in the chars as shown #{uid}.

rgds

David

On Fri, 16 Mar 2018, 08:11 Isaiah Nyabuto, isaiahnyabuto@gmail.com wrote:

Dear Dhis2 users,

I recently imported a few indicators using an API. When I check the indicator numerator from the maintenance, it shows the data element description and ID but no valid object found. I suspect this could be a problem with my metadata version. If so, how do I ensure I get the right version of data elements metadata?

Thank you.

==========================
Isaiah Nyabuto
+254729572616
Bsc. Health Records Management and Informatics


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Isaiah Nyabuto
+254 729 572 616

Bsc. Health Records Management & Informatics, JKUAT.

Hi everyone,

The Data elements are not loading when creating a numerator or denominator of an indicator.

Also getting the following
{
“httpStatus”: “Not Found”,
“httpStatusCode”: 404,
“status”: “ERROR”,
“message”: “Indicator with id expression could not be found.”
}

DHIS2 version 2.35.13

Please make sure to clear your browser cache, try to use the Browser Cache Cleaner app. Also, please make sure the sharing settings for these indicators are correct and that you have sharing access to view these indicators.

Thanks!

@Gassim we have tried clearing cache and the indicators have the following sharing settings.

But unfortunately the data elements are not showing…the loading bar just keeps loading on and on.

I also used /api/expressions/description?expression= endpoint to check all the numerator and denominator expression and they all passed

1 Like

Hey @antony.sibanda ,

I see an internal error in the screenshot you shared (POST to /api/indicators/expression/description). Could you please share the server logs from when the error happens? We might be able to assist more then.

Gintare

1 Like

Hi that error pops up because of blank Description field, which required, if something is entered on the Description field, no error is shown

Okay thank you @antony.sibanda! Would you share the screenshot again? Please enter the description and before selecting the indicator open the Network tab so only the relevant request/s is shown.

Thank you!

Hi @Gassim, The data elements will eventually show up they take a bit of time, sometimes after 15minutes. From the Network tab, the API call that is taking time is …/api/29/dataElementOperands?filter=dataElement.domainType:eq:AGGREGATE&fields=id%2CdisplayName&totals=true …returning Size 6.8KB…Could this be a resources issue? Running on docker environment and server specs Standard D8s v3 (8 vcpus, 32 GiB memory).

Thanks alot

1 Like