# Bulk Load 3.21.0 Failed to create update data values

**URL:** <https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624>\
**Category:** Support - Assistance technique\
**Created:** [21 June 2023 07:44 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624 "2023-06-21T07:44:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Kabala](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/andrew_kabala/32/39354_2.png) [@Andrew\_Kabala](https://community.dhis2.org/u/Andrew_Kabala)\
**Post date:** [21 June 2023 07:44 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/1 "2023-06-21T07:44:32Z")

</div>

Hi all,  
I am trying to upload Tracker Program data into DHIS2 using Bulk Load 3.21.0. The Program has 3 stages. However, it fails to create data values, although it creates the TEIs. When I am uploading, I leave the TEI field and the Event ID field blank, but fill out all the other values. What am I missing? I will be grateful for a resolution.  
The import summary:

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/b/1/b1d8db297999cd5101b780abee3ef44bd044a9e1.png)  
The TEI instances:  
 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/4/3/434f04740f204bf8195dc1290cdcedd4c5184a59.png)  
The first stage:  
 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/0/a/0a32fee80b0f910e27cf423f6b6b174e5a176c30.png)

When I add internal IDs i.e 1,2,3… for the TEIs and the Events, I get this error:

Program stage is not repeatable. Current payload contains a duplicate event, even when there are no duplicates in the data.

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/0/2/0272f9a5d0d9dfc2d74ea00c1a017a4a842f0124.png)

Andrew

---

<div class="post-metadata">

**Author:** ![Matthew\_Boddie](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/matthew_boddie/32/34043_2.png) [@Matthew\_Boddie](https://community.dhis2.org/u/Matthew_Boddie)\
**Post date:** [21 June 2023 19:38 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/2 "2023-06-21T19:38:53Z")

</div>

@Andrew_Kabala disregard my response if someone with technical experience comes in here, but I’d be curious if you could skirt this issue by giving specific UIDs to the events. Generally we’ve found this approach to be very useful anyway, so that multiple instances of the event don’t get erroneously created if files are imported more than once/if we want to edit an event vs. create a new one.

If you’re open to putting in UIDs, you can easily pull UIDs though a (instance)/api/system/id.csv?limit=15 type URL to copy and paste them into your csv

---

<div class="post-metadata">

**Author:** ![Gassim](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/gassim/32/35347_2.png) [@Gassim](https://community.dhis2.org/u/Gassim)\
**Post date:** [22 June 2023 03:56 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/3 "2023-06-22T03:56:33Z")

</div>

Thanks for the post… Bulk Load app is developer by EyeSeeTea and WHO, so maybe we could get one of the developers to support, @ifoche ? Thanks! 🙏

---

<div class="post-metadata">

**Author:** ![Andrew\_Kabala](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/andrew_kabala/32/39354_2.png) [@Andrew\_Kabala](https://community.dhis2.org/u/Andrew_Kabala)\
**Post date:** [22 June 2023 08:50 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/4 "2023-06-22T08:50:28Z")

</div>

Hi @Matthew_Boddie. I think this makes sense, let me use this approach.

Regards,  
Andrew

---

<div class="post-metadata">

**Author:** ![lillian1n2](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/l/f9ae1b/32.png) [@lillian1n2](https://community.dhis2.org/u/lillian1n2)\
**Post date:** [15 November 2023 11:57 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/5 "2023-11-15T11:57:04Z")

</div>

Hey there!

I’m using bulk load to upload tracker and event data:

DHIS2 version: 2.40.1.0

Process:

1. Download the bulk load template for the respective tracker program
2. Fill in TEI data and upload - in order to get TEI ids.
3. Redownload template and begin to fill in the data values for events against respective TEI ids.
4. Upload template v2 to bulk load.

The problems:

1. When uploading TEI data, it produces two of each instance. One with the values, the other that have blank TEI attributes. So I have to go deleting the individual blank attributes TEIs. This is not feasible considering the amount of data I am working with.
2. It does not create event data. My program stages are not repeatable so it says that the events with similar IDs already exist. Yet they DO NOT. When I check the tracker dashboard, it is not there. The only events that exist are the ones I created directly on the dashboard. I can not create individual events because of the amount of data I am working with.

---

<div class="post-metadata">

**Author:** ![lillian1n2](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/l/f9ae1b/32.png) [@lillian1n2](https://community.dhis2.org/u/lillian1n2)\
**Post date:** [15 November 2023 12:04 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/6 "2023-11-15T12:04:58Z")

</div>

@Andrew_Kabala This this work for you or how did you eventually go about uploading the data?

UPDATE: I tried the method of uploading event data by first filling in the event IDs and it still throws the same error @Matthew_Boddie

 ![image](https://dhis2.b-cdn.net/uploads/default/original/3X/6/9/69cab032788e8d502b8e4de2cc0003205a15e4fc.png)

---

<div class="post-metadata">

**Author:** ![ifoche](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/ifoche/32/26900_2.png) [@ifoche](https://community.dhis2.org/u/ifoche)\
**Post date:** [1 March 2024 15:34 UTC](https://community.dhis2.org/t/bulk-load-3-21-0-failed-to-create-update-data-values/53624/7 "2024-03-01T15:34:34Z")

</div>

Dear @Andrew_Kabala , @lillian1n2 . Unfortunately Bulk Load has not yet been made compatible with DHIS2 2.39+.

We are planning to do it by Q3 2024, but we will make the proper announcements in the community once confirmed.

Until then, we cannot guarantee anything about the apps behaviour in 40.

Best regards
