# \[Solved\] How do I set API Headers?

**URL:** https://community.thunkable.com/t/solved-how-do-i-set-api-headers/2324504
**Category:** Questions about Thunkable X
**Tags:** solved, webapi
**Created:** [March 14, 2023, 10:22pm UTC](https://community.thunkable.com/t/solved-how-do-i-set-api-headers/2324504 "2023-03-14T22:22:01Z")
**Posts on this page:** 1
**Showing post:** 29

<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: [March 17, 2023, 2:48pm UTC](https://community.thunkable.com/t/solved-how-do-i-set-api-headers/2324504/29 "2023-03-17T14:48:27Z")

</div>

@matt_conroy @kartik14 I discovered something related to the JSON parsing issue. I noticed that if I use the variable `app variable ingredients to avoid list` in the `does list contain` block inside my loop, it crashes the project. If I use a static list of values in that block, it works fine.

Project link: [Thunkable](https://x.thunkable.com/copy/fcb4ffe7d4ae1898e212e24cf34c989d)

**These blocks work:**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/1/317f75a186c3bada98d91d8227fb3fb91a1d6dad.png)

**These blocks crash:**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/b/5b750475d152201cd63f5fa99d7778ae56948295.png)

**Using static text values in the `initialize variable` block also crashes:**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/014dffbae6fb5029a60445b4da706d6b4c1f2388.png)

---

_[View the full topic](https://community.thunkable.com/t/solved-how-do-i-set-api-headers/2324504)._
