# Help in Sending an Array in API

**URL:** <https://community.thunkable.com/t/help-in-sending-an-array-in-api/2662210>\
**Category:** Web API's\
**Tags:** help, list\
**Created:** [October 25, 2023, 2:12am UTC](https://community.thunkable.com/t/help-in-sending-an-array-in-api/2662210 "2023-10-25T02:12:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [October 25, 2023, 2:12am UTC](https://community.thunkable.com/t/help-in-sending-an-array-in-api/2662210/1 "2023-10-25T02:12:50Z")

</div>

Hi There!

I Need Some Help creating an Array and Sending it to an API.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/5/d557a94f9655244ac8a027cfb9ef776d76a53ba5.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/f/4fa37e3c14081f4034c40582f58d7608bb8a5dd0.png)  
I got this Error when I Sent this Request  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/5/85fa77d110557f90887be881ae284bdefb374a5b.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 25, 2023, 6:38am UTC](https://community.thunkable.com/t/help-in-sending-an-array-in-api/2662210/2 "2023-10-25T06:38:48Z")

</div>

Why do you have double `list` blocks? You just need a single `list` block with two `create object` blocks attached to it. Each `create object` block should have two fields: role and content.

---

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [October 30, 2023, 1:15am UTC](https://community.thunkable.com/t/help-in-sending-an-array-in-api/2662210/3 "2023-10-30T01:15:54Z")

</div>

Now working!

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [October 31, 2023, 6:54pm UTC](https://community.thunkable.com/t/help-in-sending-an-array-in-api/2662210/4 "2023-10-31T18:54:51Z")

</div>


