I was importing some events from a CSV file by following the order of column as shown out in the DHIS2 guide. The first column should be “event” but it’s not required, in my CSV file I left it empty and I got this following message. Please can you help me. My DHIS2 version is 2.34.9.
I am having the exact same problem. I tried with and without an Event ID but receive an error message in any case. I am wondering whether a column is missing.
In any case any advice on this will be really appreciated.
I also tried with the BIF-app and Data Import Wizard but also failed with those tools.
Thank you @George_McGuire! Would you by any chance be able to share the steps to reproduce the issue on any of the play.dhis2.org instances? If not, it’d be helpful to know what the error message (is it the same as the one in the screenshot posted by @krendel1811?)
But here the problem is that I do not understand that complex Tracker Program and cannot even identify the TEI for checking.
Concerning import file format, not easy to find the pertinent reference in the extensive DHIS2 documentation (also because I am not a developer and do not understand what API-endpoints are) but I assume it is this table:
I compared this table with the CSV-files exported in DHIS2 2.40 snapshot (which I am mainly using) and found that the column headers and the order of columns are identical. I reconfirmed in 2.40.1-SNAPSHOT that:
exporting an event, changing only the value and re-importing works every time without error and instantly
using the same file but trying to upload a new Event (with or without EventID) fails every time with the same error Mr. Kenold got:
Event.trackedEntityInstance does not point to a valid tracked entity instance: null