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}.
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
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}.
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
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.
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?
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}.
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
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.
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?
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}.
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
Also getting the following
{
“httpStatus”: “Not Found”,
“httpStatusCode”: 404,
“status”: “ERROR”,
“message”: “Indicator with id expression could not be found.”
}
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.
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.
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.
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).