# Pulldata() stopped working on ODK Collect Apps after CSV update (still works on Enketo)

**URL:** <https://forum.getodk.org/t/pulldata-stopped-working-on-odk-collect-apps-after-csv-update-still-works-on-enketo/56959>\
**Category:** Support\
**Tags:** form-design, odk-central, odk-collect, odk-xlsform, enketo\
**Created:** [October 21, 2025, 5:37pm UTC](https://forum.getodk.org/t/pulldata-stopped-working-on-odk-collect-apps-after-csv-update-still-works-on-enketo/56959 "2025-10-21T17:37:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glen.Poresh](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/glen.poresh/32/14575_2.png) [@Glen.Poresh](https://forum.getodk.org/u/Glen.Poresh)\
**Post date:** [October 21, 2025, 5:37pm UTC](https://forum.getodk.org/t/pulldata-stopped-working-on-odk-collect-apps-after-csv-update-still-works-on-enketo/56959/1 "2025-10-21T17:37:08Z")

</div>

I have an XLSForm (`Nutrition Entrepreneurs – Sales Data Collection Tool – Year 2 – TLTN.xlsx`) that uses `pulldata()` to auto-populate fields from a lookup CSV (`nsa_list.csv`).

It used to work perfectly on both **ODK Collect (Android)** and **Enketo**.  
After I replaced/updated the CSV file, the form continues to work fine on **Enketo** , but **on ODK Collect the pulldata fields stay blank**.

* * *

**2. Steps to reproduce the issue**

1. Upload the XLSForm and `nsa_list.csv` to KoBo/ODK server.

2. In **ODK Collect (Android)**:

3. Observe: On Enketo, related fields populate correctly (e.g., NSA name, district).  
On ODK Collect, the same fields remain blank.

* * *

**3. What I have tried to fix the issue**

- Incremented the **form version** and re-uploaded.

- Deleted and re-downloaded the blank form and media on Collect.

- Verified CSV exists on the device at:  
`Android/data/org.odk.collect.android/files/projects/<project>/forms/<form-id>-media/nsa_list.csv`

- Confirmed that the file name matches exactly (`nsa_list.csv`, all lowercase, `.csv` extension).

- Re-saved the CSV as **UTF-8 (no BOM)**.

- Checked that the lookup key (`id_key`) and header names match exactly.

- Turned ON “Automatically download media” in settings.

- Cleared cache and form data in Collect → Experimental → Reset cache.

- Tested the same form in Enketo — all values populate as expected.

* * *

**4. Form and CSV details**

- Example `pulldata()` calls in the XLSForm:

- CSV header row:

- Test entry:  
`id_key=20473` → `NSA_Name=Shimu Begum`, `District=Barishal`, `Upazila=Babuganj`, etc.

* * *

**5. Expected vs actual**

| Platform | Expected (auto-filled fields) | Actual result |
| --- | --- | --- |
| Enketo | All pulldata() values appear correctly | ✅ Works |
| ODK Collect | Fields stay blank | ❌ Not working |

* * *

**6. Environment**

- Server: **KoBoToolbox (EU server)**

- App: **ODK Collect v2025.x.x (latest)**

- Device: **Android latest**

- Enketo: **Works as expected**

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [October 21, 2025, 9:17pm UTC](https://forum.getodk.org/t/pulldata-stopped-working-on-odk-collect-apps-after-csv-update-still-works-on-enketo/56959/2 "2025-10-21T21:17:13Z")

</div>

I'm sorry to hear you're experiencing issues.

The attached data files look like they may contain personal data so I have removed them. If they were test data, let me know and I can put them back.

I tried your form with ODK Central and Collect and when I enter in the id key 20473, I see the values you expect.

The only thing that comes to mind as a possible explanation is that several versions ago ODK Collect started using ETags to cache form attachments. If Kobo is setting ETags incorrectly, you could be getting a stale form attachment. What happens if you delete the Collect project and recreate a new one? Could you also please make sure to try with ODK Collect v2025.3.2?

---

<div class="post-metadata">

**Author:** ![Firas\_ELEUCH](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/firas_eleuch/32/33329_2.png) [@Firas\_ELEUCH](https://forum.getodk.org/u/Firas_ELEUCH)\
**Post date:** [September 15, 2026, 11:10pm UTC](https://forum.getodk.org/t/pulldata-stopped-working-on-odk-collect-apps-after-csv-update-still-works-on-enketo/56959/3 "2026-09-15T23:10:49Z")

</div>

Hello, I unfortunately still have the same problem which Pulldata() stopped working on ODK Collect Apps after CSV update but it still works on Enketo. How can I fix that?

Thank you

---

<div class="post-metadata">

**Author:** ![Grzesiek2010](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/grzesiek2010/32/2881_2.png) [@Grzesiek2010](https://forum.getodk.org/u/Grzesiek2010)\
**Post date:** [September 21, 2026, 4:52pm UTC](https://forum.getodk.org/t/pulldata-stopped-working-on-odk-collect-apps-after-csv-update-still-works-on-enketo/56959/4 "2026-09-21T16:52:09Z")

</div>

Hi @Firas_ELEUCH

When you get a chance, please [introduce yourself here](https://forum.getodk.org/t/-/6671).

Were you able to resolve your issue? If not, please provide some more information:

- What server and mobile app are you using, including their versions?

- Is the update unavailable only for the existing project, or do you also not see the data when you create a new project?

- Are you able to share your form along with the csv file?
