# Can't return list of things from api workflow

**URL:** <https://forum.bubble.io/t/cant-return-list-of-things-from-api-workflow/36635>\
**Category:** APIs\
**Created:** [August 27, 2018, 8:13pm UTC](https://forum.bubble.io/t/cant-return-list-of-things-from-api-workflow/36635 "2018-08-27T20:13:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.ko](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@m.ko](https://forum.bubble.io/u/m.ko)\
**Post date:** [August 27, 2018, 8:13pm UTC](https://forum.bubble.io/t/cant-return-list-of-things-from-api-workflow/36635/1 "2018-08-27T20:13:04Z")

</div>

Hi. I’m having trouble returning a list of credit card descriptions from the stripe.js @copilot plugin. My hope is to call bubble through the dropsource api then pull data from stripe and return it to the dropsource native iOS app. For some reason I cant get bubble to recognize the returned array from stripe as a list of arrays.

Stripe API has the card data within the customer object (sources).  
[https://stripe.com/docs/api/java#customer\_object](https://stripe.com/docs/api/java#customer_object)  
[https://stripe.com/docs/api/java#card\_object](https://stripe.com/docs/api/java#card_object)

When I try to return the data it stays red in the function block per below:

 ![39%20PM](https://us1.discourse-cdn.com/bubble/original/3X/5/2/522c8086ecc1775dcdd440685d38c8ef34f16bff.png)  
 ![54%20PM](https://us1.discourse-cdn.com/bubble/original/3X/b/0/b037a8f3ea5c7411fd611929d201f249601f1d24.png)  
 ![05%20PM](https://us1.discourse-cdn.com/bubble/original/3X/0/a/0aefad346b977fbc31ae144315d80b4fd9c13ad9.png)  
 ![03%20PM](https://us1.discourse-cdn.com/bubble/original/3X/5/3/5345a58996e1811bf3ead4e7111fc3cea4d576bd.png)

I also tried to save the data to the bubble backend then return that but ran into the same issue in scheduling an API workflow:

 ![02%20PM](https://us1.discourse-cdn.com/bubble/original/3X/3/b/3b22d0028d0418bdaf4afe7e63dc6b0bb6554204.png)

Why isnt bubble accepting the list?
