# Export to CSV doesn't work

**URL:** <https://community.glideapps.com/t/export-to-csv-doesnt-work/61843>\
**Category:** Report a Bug\
**Created:** [May 17, 2023, 9:49am UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843 "2023-05-17T09:49:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![epdarias](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/epdarias/32/45740_2.png) [@epdarias](https://community.glideapps.com/u/epdarias)\
**Post date:** [May 17, 2023, 9:49am UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/1 "2023-05-17T09:49:17Z")

</div>

Hi, Gliders!

I’m Edu and I have next issue:

I have created an action that exports the users to a CSV file. It then creates a new row in the CIJ\_Exports table with the URL of the export and sends an email with that URL so that it can be downloaded.

The problem is that if I run the action at design time, everything goes ok, but if at run time I click the button that launches the action, nothing happens.

I attach the link to the video in loom where I recreate the problem:

Thanks!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 17, 2023, 11:45am UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/2 "2023-05-17T11:45:15Z")

</div>

I would try adding a Wait action to you custom action. You need to allow time for the file to generate before executing the rest if the actions.

---

<div class="post-metadata">

**Author:** ![epdarias](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/epdarias/32/45740_2.png) [@epdarias](https://community.glideapps.com/u/epdarias)\
**Post date:** [May 17, 2023, 2:22pm UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/3 "2023-05-17T14:22:08Z")

</div>

Thanks @Jeff_Hager but no matter the time than I wait, nothing happens. It’s like if “Generate CSV” never ended. It never go to next step…

---

<div class="post-metadata">

**Author:** ![Jeremy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeremy/32/29121_2.png) [@Jeremy](https://community.glideapps.com/u/Jeremy)\
**Post date:** [May 17, 2023, 4:54pm UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/4 "2023-05-17T16:54:17Z")

</div>

There’s a couple fixes that are coming out that may fix this. Should land by tomorrow.

---

<div class="post-metadata">

**Author:** ![epdarias](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/epdarias/32/45740_2.png) [@epdarias](https://community.glideapps.com/u/epdarias)\
**Post date:** [May 17, 2023, 5:30pm UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/5 "2023-05-17T17:30:47Z")

</div>

Thanks @Jeremy. I’ll try tomorrow… 👍

---

<div class="post-metadata">

**Author:** ![Jeremy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeremy/32/29121_2.png) [@Jeremy](https://community.glideapps.com/u/Jeremy)\
**Post date:** [May 17, 2023, 9:15pm UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/6 "2023-05-17T21:15:28Z")

</div>

Give it another shot, just released.

---

<div class="post-metadata">

**Author:** ![epdarias](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/epdarias/32/45740_2.png) [@epdarias](https://community.glideapps.com/u/epdarias)\
**Post date:** [May 18, 2023, 8:15am UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/7 "2023-05-18T08:15:52Z")

</div>

Thank you so much, @Jeremy. Now it’s work perfectly! 💪

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 19, 2023, 8:16am UTC](https://community.glideapps.com/t/export-to-csv-doesnt-work/61843/8 "2023-05-19T08:16:51Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
