# Help Needed for quotesy

**URL:** <https://community.thunkable.com/t/help-needed-for-quotesy/2352364>\
**Category:** Questions about Thunkable X\
**Created:** [March 31, 2023, 6:32am UTC](https://community.thunkable.com/t/help-needed-for-quotesy/2352364 "2023-03-31T06:32:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamcore](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dreamcore](https://community.thunkable.com/u/dreamcore)\
**Post date:** [March 31, 2023, 6:32am UTC](https://community.thunkable.com/t/help-needed-for-quotesy/2352364/1 "2023-03-31T06:32:56Z")

</div>

I am unable to fetch data in web api. [Thunkable](https://x.thunkable.com/copy/45ff8ac31607c494fd4e2e6bdafec5c6). just put any 12 digits string to start.

---

<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 31, 2023, 6:40am UTC](https://community.thunkable.com/t/help-needed-for-quotesy/2352364/2 "2023-03-31T06:40:11Z")

</div>

I entered 123456789012 and it displayed this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f7f3e06437f7211af8cdc90f598068241c30e5f6.jpeg)

Is that what you want it to do? What happens when it fails? Are you checking for errors?

How do you know that the length of the API response is a list with 221,347 items?

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

It’s probably better to get the length the “array” property and use that in your blocks.

---

<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 31, 2023, 6:47am UTC](https://community.thunkable.com/t/help-needed-for-quotesy/2352364/3 "2023-03-31T06:47:57Z")

</div>

~~Also, the JSON response includes the “array” property. So to get “Thomas Edison” here, you would need to get the property “author” of the first item of the “array” property of the JSON object. Or put another way, the property “array[1].author” of the JSON object.~~

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

You also need to convert your JSON response to an object! **I recommend you watch my tutorial video so that you understand how to parse JSON in Thunkable:** [API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575).

---

<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 31, 2023, 7:09am UTC](https://community.thunkable.com/t/help-needed-for-quotesy/2352364/4 "2023-03-31T07:09:43Z")

</div>

The JSON response is only 1643 items long. And I was wrong about “array” being the top property. Here are working blocks:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/2/c2d2d23c29cb6a2f245ac46ddeca7f8b662af072.png)

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [June 29, 2023, 7:09am UTC](https://community.thunkable.com/t/help-needed-for-quotesy/2352364/5 "2023-06-29T07:09:44Z")

</div>

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