# BAD-CSV - works through database, but not workflow

**URL:** <https://forum.bubble.io/t/bad-csv-works-through-database-but-not-workflow/103880>\
**Category:** Database\
**Created:** [July 29, 2020, 4:15am UTC](https://forum.bubble.io/t/bad-csv-works-through-database-but-not-workflow/103880 "2020-07-29T04:15:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathanlively](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nathanlively/32/37402_2.png) [@nathanlively](https://forum.bubble.io/u/nathanlively)\
**Post date:** [July 29, 2020, 4:15am UTC](https://forum.bubble.io/t/bad-csv-works-through-database-but-not-workflow/103880/1 "2020-07-29T04:15:41Z")

</div>

I’m trying to set up an admin workflow so that I can upload new CSV files to my database. I can upload the CSV file without a problem from the App Data tab, but when I try to do with with a workflow, I get this error: Expected a List of texts; received: ‘[1:1 Matched Reference]’

![2020-07-28 at 23.11.39](https://us1.discourse-cdn.com/bubble/original/3X/9/a/9a8afa2cee90dfcebb168b376c5b7b789e9c95ab.png)

I know Bubble is expecting a list in the second column, but some rows have single items in their lists. Here’s the first CSV file.

 ![2020-07-28 at 23.13.57@2x](https://us1.discourse-cdn.com/bubble/original/3X/3/f/3f829ca9984eaa4c224696fcff8eec03aa1073dc.png)

Here’s the workflow’s first item.

![2020-07-28 at 23.15.08](https://us1.discourse-cdn.com/bubble/original/3X/7/4/74093cc1bdb9f9e05a314c9fc90da3db76b67b55.png)

---

<div class="post-metadata">

**Author:** ![theblackcvrd](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/theblackcvrd/32/104118_2.png) [@theblackcvrd](https://forum.bubble.io/u/theblackcvrd)\
**Post date:** [July 8, 2021, 7:37am UTC](https://forum.bubble.io/t/bad-csv-works-through-database-but-not-workflow/103880/2 "2021-07-08T07:37:17Z")

</div>

Did you find a solution?

---

<div class="post-metadata">

**Author:** ![nathanlively](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nathanlively/32/37402_2.png) [@nathanlively](https://forum.bubble.io/u/nathanlively)\
**Post date:** [July 8, 2021, 6:45pm UTC](https://forum.bubble.io/t/bad-csv-works-through-database-but-not-workflow/103880/3 "2021-07-08T18:45:51Z")

</div>

Yes! I abandoned this approach and now handle everything through the API. Once I got a few things in place I found it to be a better workflow.

---

<div class="post-metadata">

**Author:** ![leonardo.cardoso](https://avatars.discourse-cdn.com/v4/letter/l/d07c76/32.png) [@leonardo.cardoso](https://forum.bubble.io/u/leonardo.cardoso)\
**Post date:** [January 21, 2022, 8:52pm UTC](https://forum.bubble.io/t/bad-csv-works-through-database-but-not-workflow/103880/4 "2022-01-21T20:52:21Z")

</div>

I solved changing my list to a JSON Array like that [“Item 1”, “Item 2”, “Item 3”].
